Failed Exception Class
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.
The exception that occurs when an authorization attempt fails.
public class AuthorizationFailedException : Exception
type AuthorizationFailedException = class inherit Exception
Public Class AuthorizationFailedException Inherits Exception
Gets or sets the error code that describes the cause of authorization attempt failure.
Populates a System.Runtime.Serialization.SerializationInfo object with the data needed to serialize the target object.