MonobjcMonobjc Documented Class Library
ConnectionWithReceivePortSendPort Method (receivePort, sendPort)
NamespacesMonobjc.FoundationNSConnectionConnectionWithReceivePortSendPort(NSPort, NSPort)

Returns an NSConnection object that communicates using given send and receive ports.

Original signature is '+ (id)connectionWithReceivePort:(NSPort *)receivePort sendPort:(NSPort *)sendPort'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSConnection ConnectionWithReceivePortSendPort(
	NSPort receivePort,
	NSPort sendPort
)
Public Shared Function ConnectionWithReceivePortSendPort ( _
	receivePort As NSPort, _
	sendPort As NSPort _
) As NSConnection
public:
static NSConnection^ ConnectionWithReceivePortSendPort(
	NSPort^ receivePort, 
	NSPort^ sendPort
)
Parameters
receivePort (NSPort)
A receive port.
sendPort (NSPort)
A send port.
Return Value
An NSConnection object that communicates using receivePort and sendPort.
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)