SecurityException.PermissionState Property

Definition

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

public:
 property System::String ^ PermissionState { System::String ^ get(); void set(System::String ^ value); };
public:
 property System::String ^ PermissionState { System::String ^ get(); };
public string? PermissionState { get; set; }
public string PermissionState { get; set; }
public string PermissionState { get; }
member this.PermissionState : string with get, set
member this.PermissionState : string
Public Property PermissionState As String
Public ReadOnly Property PermissionState As String

Property Value

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

Applies to