18 references to MessagePriority
System.Messaging (10)
System\Messaging\DefaultPropertiesToSend.cs (2)
256
[DefaultValueAttribute(
MessagePriority
.Normal), MessagingDescription(Res.MsgPriority)]
257
public
MessagePriority
Priority
System\Messaging\Message.cs (5)
1340
public
MessagePriority
Priority
1348
return
MessagePriority
.Normal;
1353
return (
MessagePriority
)properties.GetUI1(NativeMethods.MESSAGE_PROPID_PRIORITY);
1359
throw new InvalidEnumArgumentException("value", (int)value, typeof(
MessagePriority
));
1362
if (value ==
MessagePriority
.Normal)
System\Messaging\ValidationUtility.cs (3)
70
public static bool ValidateMessagePriority(
MessagePriority
value)
72
return (value >=
MessagePriority
.Lowest) && (value <=
MessagePriority
.Highest);
System.ServiceModel (8)
System\ServiceModel\MsmqIntegration\MsmqIntegrationInputMessage.cs (1)
107
property.Priority = (System.Messaging.
MessagePriority
)this.priority.Value;
System\ServiceModel\MsmqIntegration\MsmqIntegrationMessageProperty.cs (6)
122
MessagePriority
? priority = null;
123
public
MessagePriority
? Priority
170
static void ValidateMessagePriority(
MessagePriority
? priority)
172
if (priority.HasValue && (priority.Value <
MessagePriority
.Lowest || priority.Value >
MessagePriority
.Highest))
173
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("priority", (int)priority, typeof(
MessagePriority
)));
System\ServiceModel\MsmqIntegration\MsmqMessage.cs (1)
110
public
MessagePriority
? Priority