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 Basic | Visual C++ |
public event NSConnection..::..ConnectionShouldMakeNewConnectionEventHandler ConnectionShouldMakeNewConnection
Public Event ConnectionShouldMakeNewConnection As NSConnection..::..ConnectionShouldMakeNewConnectionEventHandler
public: event NSConnection..::..ConnectionShouldMakeNewConnectionEventHandler^ ConnectionShouldMakeNewConnection { void add (NSConnection..::..ConnectionShouldMakeNewConnectionEventHandler^ value); void remove (NSConnection..::..ConnectionShouldMakeNewConnectionEventHandler^ value); }
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)