ResourcePermissionBase::PermissionAccessType Property
.NET Framework (current version)
Gets or sets an enumeration value that describes the types of access that you are giving the resource.
Assembly: System (in System.dll)
| 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
Available since 1.1
Show: