MonobjcMonobjc Documented Class Library
ConnectionShouldMakeNewConnectionMessage Method (parentConnection, newConnnection)
NamespacesMonobjc.FoundationNSConnection..::..NSConnectionDelegateEventDispatcherConnectionShouldMakeNewConnectionMessage(NSConnection, NSConnection)

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 bool ConnectionShouldMakeNewConnectionMessage(
	NSConnection parentConnection,
	NSConnection newConnnection
)
Public Function ConnectionShouldMakeNewConnectionMessage ( _
	parentConnection As NSConnection, _
	newConnnection As NSConnection _
) As Boolean
public:
bool ConnectionShouldMakeNewConnectionMessage(
	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)