UnauthorizedException Constructors

Definition

Overloads

UnauthorizedException()

Initializes a new instance of the class.

UnauthorizedException(String)

Initializes a new instance of the class.

UnauthorizedException(String, Exception)

Initializes a new instance of the class.

UnauthorizedException()

Initializes a new instance of the class.

public UnauthorizedException ();
Public Sub New ()

Applies to

UnauthorizedException(String)

Initializes a new instance of the class.

public UnauthorizedException (string message);
new Microsoft.Azure.Devices.Client.Exceptions.UnauthorizedException : string -> Microsoft.Azure.Devices.Client.Exceptions.UnauthorizedException
Public Sub New (message As String)

Parameters

message
String

The error message.

Applies to

UnauthorizedException(String, Exception)

Initializes a new instance of the class.

public UnauthorizedException (string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.UnauthorizedException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.UnauthorizedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message.

innerException
Exception

The exception instance that caused the current exception.

Applies to