SecurityException.PermissionState Property

Definition

Gets or sets the state of the permission that threw the exception.

public:
 property System::String ^ PermissionState { System::String ^ get(); };
public string PermissionState { get; }
member this.PermissionState : string
Public ReadOnly Property PermissionState As String

Property Value

The state of the permission at the time the exception was thrown.

Security

SecurityPermission
for the ability to provide evidence and view and modify policy. Associated enumerations: ControlEvidence, ControlPolicy

Applies to