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:
 property System::String ^ PermissionState { System::String ^ get(); void set(System::String ^ value); };
public string PermissionState { get; }
public string PermissionState { get; set; }
member this.PermissionState : string
member this.PermissionState : string with get, set
Public ReadOnly Property PermissionState As String
Public Property PermissionState As String

Property Value

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

Applies to