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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET