Share via


AuthorizationFailedException Class

Definition

The exception that occurs when an authorization attempt fails.

[System.Serializable]
public class AuthorizationFailedException : Exception
[<System.Serializable>]
type AuthorizationFailedException = class
    inherit Exception
Public Class AuthorizationFailedException
Inherits Exception
Inheritance
AuthorizationFailedException
Attributes

Properties

ErrorCode

Gets or sets the error code that describes the cause of authorization attempt failure.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data needed to serialize the target object.

Applies to