35 instantiations of MessageQueuePermission
System.Messaging (35)
System\Messaging\MessageQueue.cs (27)
370
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
394
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
1215
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
1274
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
1335
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Send, PREFIX_FORMAT_NAME + this.FormatName);
1358
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
1387
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
1664
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Administer, MessageQueuePermission.Any);
1738
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + queue.FormatName);
1818
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, MessageQueuePermission.Any);
1849
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
1904
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, MessageQueuePermission.Any);
1988
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
2007
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
2028
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, MessageQueuePermission.Any);
2128
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, MessageQueuePermission.Any);
2376
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
2519
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
2529
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
2932
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
2945
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
3026
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
3036
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
3119
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + this.FormatName);
3252
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Send, PREFIX_FORMAT_NAME + this.FormatName);
3386
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + this.FormatName);
3451
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + this.FormatName);
System\Messaging\MessageQueueCriteria.cs (1)
156
MessageQueuePermission permission = new
MessageQueuePermission
(PermissionState.Unrestricted);
System\Messaging\MessageQueueEnumerator.cs (1)
143
MessageQueuePermission permission = new
MessageQueuePermission
(MessageQueuePermissionAccess.Browse, MessageQueuePermission.Any);
System\Messaging\MessageQueuePermission.cs (3)
138
MessageQueuePermission permission = new
MessageQueuePermission
();
229
MessageQueuePermission newPermission = new
MessageQueuePermission
();
471
MessageQueuePermission newPermission = new
MessageQueuePermission
();
System\Messaging\MessageQueuePermissionAttribute.cs (3)
139
return new
MessageQueuePermission
(PermissionState.Unrestricted);
143
return new
MessageQueuePermission
(this.PermissionAccess, this.path);
145
return new
MessageQueuePermission
(this.PermissionAccess, this.machineName, this.label, this.category);
52 references to MessageQueuePermission
System.Messaging (52)
System\Messaging\MessageQueue.cs (32)
370
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
394
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
1215
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
1274
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
1335
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Send, PREFIX_FORMAT_NAME + this.FormatName);
1358
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
1387
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
1664
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Administer,
MessageQueuePermission
.Any);
1738
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + queue.FormatName);
1818
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse,
MessageQueuePermission
.Any);
1849
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse, PREFIX_FORMAT_NAME + this.FormatName);
1904
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse,
MessageQueuePermission
.Any);
1988
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
2007
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
2028
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse,
MessageQueuePermission
.Any);
2128
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse,
MessageQueuePermission
.Any);
2376
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
2519
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
2529
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
2932
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
2945
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
3026
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Receive, PREFIX_FORMAT_NAME + this.FormatName);
3036
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Peek, PREFIX_FORMAT_NAME + this.FormatName);
3119
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + this.FormatName);
3252
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Send, PREFIX_FORMAT_NAME + this.FormatName);
3386
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + this.FormatName);
3451
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Administer, PREFIX_FORMAT_NAME + this.FormatName);
System\Messaging\MessageQueueCriteria.cs (2)
156
MessageQueuePermission
permission = new MessageQueuePermission(PermissionState.Unrestricted);
164
MessageQueuePermission
.RevertAssert();
System\Messaging\MessageQueueEnumerator.cs (2)
143
MessageQueuePermission
permission = new MessageQueuePermission(MessageQueuePermissionAccess.Browse,
MessageQueuePermission
.Any);
System\Messaging\MessageQueuePermission.cs (12)
138
MessageQueuePermission
permission = new MessageQueuePermission();
217
if (!(target is
MessageQueuePermission
))
220
MessageQueuePermission
targetQueuePermission = (
MessageQueuePermission
)target;
229
MessageQueuePermission
newPermission = new MessageQueuePermission();
268
if (!(target is
MessageQueuePermission
))
271
MessageQueuePermission
targetQueuePermission = (
MessageQueuePermission
)target;
467
if (!(target is
MessageQueuePermission
))
470
MessageQueuePermission
targetQueuePermission = (
MessageQueuePermission
)target;
471
MessageQueuePermission
newPermission = new MessageQueuePermission();
System\Messaging\MessageQueuePermissionAttribute.cs (1)
107
if (value != null && value !=
MessageQueuePermission
.Any && !MessageQueue.ValidatePath(value, false))
System\Messaging\MessageQueuePermissionEntry.cs (1)
27
if (path !=
MessageQueuePermission
.Any && !MessageQueue.ValidatePath(path, false))
System\Messaging\MessageQueuePermissionEntryCollection.cs (2)
15
MessageQueuePermission
owner;
19
internal MessageQueuePermissionEntryCollection(
MessageQueuePermission
owner)