13 references to MessageLookupAction
System.Messaging (13)
System\Messaging\MessageQueue.cs (7)
2886
return InternalReceiveByLookupId(true,
MessageLookupAction
.Current, lookupId, null, MessageQueueTransactionType.None);
2889
public Message ReceiveByLookupId(
MessageLookupAction
action, long lookupId, MessageQueueTransactionType transactionType)
2895
public Message ReceiveByLookupId(
MessageLookupAction
action, long lookupId, MessageQueueTransaction transaction)
2902
return InternalReceiveByLookupId(false,
MessageLookupAction
.Current, lookupId, null, MessageQueueTransactionType.None);
2905
public Message PeekByLookupId(
MessageLookupAction
action, long lookupId)
2913
internal unsafe Message InternalReceiveByLookupId(bool receive,
MessageLookupAction
lookupAction, long lookupId,
2921
throw new InvalidEnumArgumentException("action", (int)lookupAction, typeof(
MessageLookupAction
));
System\Messaging\ValidationUtility.cs (6)
57
public static bool ValidateMessageLookupAction(
MessageLookupAction
value)
62
return (value ==
MessageLookupAction
.Current) ||
63
(value ==
MessageLookupAction
.Next) ||
64
(value ==
MessageLookupAction
.Previous) ||
65
(value ==
MessageLookupAction
.First) ||
66
(value ==
MessageLookupAction
.Last);