MonobjcMonobjc Documented Class Library
NSConnection Constructor (receivePort, sendPort)
NamespacesMonobjc.FoundationNSConnectionNSConnection(NSPort, NSPort)

Returns an NSConnection object initialized with given send and receive ports.

Original signature is '- (id)initWithReceivePort:(NSPort *)receivePort sendPort:(NSPort *)sendPort'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSConnection(
	NSPort receivePort,
	NSPort sendPort
)
Public Sub New ( _
	receivePort As NSPort, _
	sendPort As NSPort _
)
public:
NSConnection(
	NSPort^ receivePort, 
	NSPort^ sendPort
)
Parameters
receivePort (NSPort)
The receive port for the new connection.
sendPort (NSPort)
The send port for the new connection.
Return Value
An NSConnection object initialized with receivePort and sendPort. The returned object might be different than the original receiver.
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)