UnauthorizedException Constructors
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.
Overloads
| UnauthorizedException() |
Initializes a new instance of the UnauthorizedException class. |
| UnauthorizedException(String) |
Initializes a new instance of the UnauthorizedException class. |
| UnauthorizedException(String, Exception) |
Initializes a new instance of the UnauthorizedException class. |
UnauthorizedException()
Initializes a new instance of the UnauthorizedException class.
public UnauthorizedException();
Public Sub New ()
Applies to
UnauthorizedException(String)
Initializes a new instance of the UnauthorizedException 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
- System.String
The error message.
Applies to
UnauthorizedException(String, Exception)
Initializes a new instance of the UnauthorizedException 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
- System.String
The error message.
- innerException
- System.Exception
The System.Exception instance that caused the current exception.