8 references to Lock
System.Messaging (8)
System\Messaging\Message.cs (2)
1651
int status = UnsafeNativeMethods.MQGetMachineProperties(null, handle.AddrOfPinnedObject(), machineProperties.
Lock
());
2401
return this.properties.
Lock
();
System\Messaging\MessageQueue.cs (6)
1680
status = UnsafeNativeMethods.MQCreateQueue(IntPtr.Zero, properties.
Lock
(), formatName, ref formatNameLen);
1855
int status = UnsafeNativeMethods.MQGetQueueProperties(FormatName, Properties.
Lock
());
1910
int status = UnsafeNativeMethods.MQGetMachineProperties(machineName, IntPtr.Zero, machineProperties.
Lock
());
2036
int status = UnsafeNativeMethods.MQMgmtGetInfo(machineName, "MACHINE", properties.
Lock
());
3125
int status = UnsafeNativeMethods.MQSetQueueProperties(FormatName, Properties.
Lock
());
4443
int status = UnsafeNativeMethods.MQGetQueueProperties(formatName, props.
Lock
());