SecurityException.PermissionState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.