MonobjcMonobjc Documented Class Library
InitWithMachPort Method (machPort)
NamespacesMonobjc.FoundationNSMachPortInitWithMachPort(UInt32)

Initializes a newly allocated NSMachPort object with a given Mach port.

Original signature is '- (id)initWithMachPort:(uint32_t)machPort'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithMachPort(
	uint machPort
)
Public Overridable Function InitWithMachPort ( _
	machPort As UInteger _
) As Id
public:
virtual Id^ InitWithMachPort(
	unsigned int machPort
)
Parameters
machPort (UInt32)
The Mach port for the new port. This parameter should originally be of type mach_port_t.
Return Value
Returns an initialized NSMachPort object that uses machPort to send or receive messages. 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)