Condividi tramite


AuthorizationFailedException Constructors

Definition

Overloads

AuthorizationFailedException()

Creates a new instance of the AuthorizationFailedException class.

AuthorizationFailedException(String)

Creates a new instance of the AuthorizationFailedException class with a specified error message.

AuthorizationFailedException(SerializationInfo, StreamingContext)

Creates a new instance of the AuthorizationFailedException class with serialized data.

AuthorizationFailedException(String, Exception)

Creates a new instance of the AuthorizationFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

AuthorizationFailedException()

Creates a new instance of the AuthorizationFailedException class.

public AuthorizationFailedException ();
Public Sub New ()

Applies to

AuthorizationFailedException(String)

Creates a new instance of the AuthorizationFailedException class with a specified error message.

public AuthorizationFailedException (string message);
new Microsoft.Azure.Relay.AuthorizationFailedException : string -> Microsoft.Azure.Relay.AuthorizationFailedException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

AuthorizationFailedException(SerializationInfo, StreamingContext)

Creates a new instance of the AuthorizationFailedException class with serialized data.

protected AuthorizationFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Relay.AuthorizationFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Relay.AuthorizationFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

AuthorizationFailedException(String, Exception)

Creates a new instance of the AuthorizationFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public AuthorizationFailedException (string message, Exception innerException);
new Microsoft.Azure.Relay.AuthorizationFailedException : string * Exception -> Microsoft.Azure.Relay.AuthorizationFailedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to