ResourcePermissionBaseEntry Constructor (Int32, String[])

 

Initializes a new instance of the ResourcePermissionBaseEntry class with the specified permission access and permission access path.

Namespace:   System.Security.Permissions
Assembly:  System (in System.dll)

public ResourcePermissionBaseEntry(
	int permissionAccess,
	string[] permissionAccessPath
)

Parameters

permissionAccess
Type: System.Int32

The integer representation of the permission access level enumeration value. The PermissionAccess property is set to this value.

permissionAccessPath
Type: System.String[]

The array of strings that identify the resource you are protecting. The PermissionAccessPath property is set to this value.

Exception Condition
ArgumentNullException

The specified permissionAccessPath is null.

.NET Framework
Available since 1.1
Return to top
Show: