MonobjcMonobjc Documented Class Library
NSConnection..::..ConnectionShouldMakeNewConnectionEventHandler Delegate
NamespacesMonobjc.FoundationNSConnectionNSConnection..::..ConnectionShouldMakeNewConnectionEventHandler

Returns a Boolean value that indicates whether the parent connection should allow a given new connection to be created.

Original signature is '- (BOOL)connection:(NSConnection *)parentConnection shouldMakeNewConnection:(NSConnection *)newConnnection'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool ConnectionShouldMakeNewConnectionEventHandler(
	NSConnection parentConnection,
	NSConnection newConnnection
)
Public Delegate Function ConnectionShouldMakeNewConnectionEventHandler ( _
	parentConnection As NSConnection, _
	newConnnection As NSConnection _
) As Boolean
public delegate bool ConnectionShouldMakeNewConnectionEventHandler(
	NSConnection^ parentConnection, 
	NSConnection^ newConnnection
)
Parameters
parentConnection (NSConnection)
The connection object for which the receiver is the delegate.
newConnnection (NSConnection)
The new connection.
Return Value
YES if parentConnection should allow newConnnection to be created and set up, NO if parentConnection should refuse and immediately release newConnection.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)