public unsafe static int MQReceiveMessageByLookupId(MessageQueueHandle handle, long lookupId, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped *overlapped, SafeNativeMethods.ReceiveCallback receiveCallback, ITransaction transaction) { try { return(IntMQReceiveMessageByLookupId(handle, lookupId, action, properties, overlapped, receiveCallback, transaction)); } catch (EntryPointNotFoundException) { throw new PlatformNotSupportedException(Res.GetString(Res.PlatformNotSupported)); } }
private static extern unsafe int IntMQReceiveMessageByLookupId(MessageQueueHandle handle, long lookupId, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped *overlapped, SafeNativeMethods.ReceiveCallback receiveCallback, ITransaction transaction);
public static extern unsafe int MQReceiveMessage(MessageQueueHandle handle, uint timeout, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped *overlapped, SafeNativeMethods.ReceiveCallback receiveCallback, CursorHandle cursorHandle, ITransaction transaction);
public unsafe static extern int MQReceiveMessage(IntPtr handle, uint timeout, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped *overlapped, SafeNativeMethods.ReceiveCallback receiveCallback, IntPtr cursorHandle, ITransaction transaction);