public IOReceivePort (OSMessageID msgType) : base (IntPtr.Zero) { IntPtr receivePort; var result = IOCreateReceivePort ((uint)msgType, out receivePort); IOObject.ThrowIfError (result); Handle = receivePort; }
public IOReceivePort(OSMessageID msgType) : base(IntPtr.Zero) { IntPtr receivePort; var result = IOCreateReceivePort((uint)msgType, out receivePort); IOObject.ThrowIfError(result); Handle = receivePort; }