MonobjcMonobjc Documented Class Library
InitWithReceivePortSendPort Method (receivePort, sendPort)
NamespacesMonobjc.FoundationNSConnectionInitWithReceivePortSendPort(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 virtual Id InitWithReceivePortSendPort(
	NSPort receivePort,
	NSPort sendPort
)
Public Overridable Function InitWithReceivePortSendPort ( _
	receivePort As NSPort, _
	sendPort As NSPort _
) As Id
public:
virtual Id^ InitWithReceivePortSendPort(
	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)