Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AccessControlList::Insert Method (Int32, AccessControlEntry^)

 

Inserts an access control entry into the access control list at the specified position.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public:
void Insert(
	int index,
	AccessControlEntry^ entry
)

Parameters

index
Type: System::Int32

The zero-based index at which the access control entry should be inserted.

entry
Type: System.Messaging::AccessControlEntry^

A AccessControlEntry to insert into the access control list.

Exception Condition
ArgumentOutOfRangeException

The index parameter is not a valid index in this access control list.

ArgumentNullException

The entry parameter is null.

If the index parameter equals the number of items in the access control list, then the entry is appended to the end. Otherwise, the entries after the insertion point move down to accommodate the new item in the list.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft