29 references to QueueAccessMode
System.Messaging (29)
System\Messaging\MessageQueue.cs (12)
64
private
QueueAccessMode
accessMode;
169
this.accessMode =
QueueAccessMode
.SendAndReceive;
194
public MessageQueue(string path,
QueueAccessMode
accessMode)
230
this.accessMode =
QueueAccessMode
.SendAndReceive;
243
bool enableCache,
QueueAccessMode
accessMode)
265
this.accessMode =
QueueAccessMode
.SendAndReceive;
276
public
QueueAccessMode
AccessMode
3604
internal void SetAccessMode(
QueueAccessMode
accessMode)
3611
throw new InvalidEnumArgumentException("accessMode", (int)accessMode, typeof(
QueueAccessMode
));
4296
public MQCacheableInfo(string formatName,
QueueAccessMode
accessMode, int shareMode)
4557
private
QueueAccessMode
accessMode;
4559
public QueueInfoKeyHolder(string formatName,
QueueAccessMode
accessMode)
System\Messaging\QueueAccessMode.cs (10)
41
private
QueueAccessMode
accessMode;
43
private static Dictionary<
QueueAccessMode
, QueueAccessModeHolder> holders = new Dictionary<
QueueAccessMode
, QueueAccessModeHolder>();
45
private QueueAccessModeHolder(
QueueAccessMode
accessMode)
55
public static QueueAccessModeHolder GetQueueAccessModeHolder(
QueueAccessMode
accessMode)
74
return (((accessMode &
QueueAccessMode
.Receive) != 0) || ((accessMode &
QueueAccessMode
.Peek) != 0));
79
return ((accessMode &
QueueAccessMode
.Send) != 0);
84
int result = (int)(accessMode & ~
QueueAccessMode
.Send);
96
int result = (int)(accessMode &
QueueAccessMode
.Send);
System\Messaging\ValidationUtility.cs (7)
88
public static bool ValidateQueueAccessMode(
QueueAccessMode
value)
93
return (value ==
QueueAccessMode
.Send) ||
94
(value ==
QueueAccessMode
.Peek) ||
95
(value ==
QueueAccessMode
.Receive) ||
96
(value ==
QueueAccessMode
.PeekAndAdmin) ||
97
(value ==
QueueAccessMode
.ReceiveAndAdmin) ||
98
(value ==
QueueAccessMode
.SendAndReceive);