ResourcePermissionBase::PermissionAccessType Property

 

Gets or sets an enumeration value that describes the types of access that you are giving the resource.

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

protected:
property Type^ PermissionAccessType {
	Type^ get();
	void set(Type^ value);
}

Property Value

Type: System::Type^

An enumeration value that is derived from Type and describes the types of access that you are giving the resource.

Exception Condition
ArgumentNullException

The property value is null.

ArgumentException

The property value is not an enumeration value.

Notes to Inheritors:

When you inherit from ResourcePermissionBase, you must set this property. For an example of an implementation of this class, see PerformanceCounterPermission. In PerformanceCounterPermission, the PermissionAccessType property is privately set to the type of PerformanceCounterPermissionAccess.

.NET Framework
Available since 1.1
Return to top
Show: