AuthorizationHeaderError 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
| Name | Description |
|---|---|
| AuthorizationHeaderError() |
Initializes a new instance of the AuthorizationHeaderError class. |
| AuthorizationHeaderError(String, String) |
Initializes a new instance of the AuthorizationHeaderError class with the specified error code and message. |
| AuthorizationHeaderError(String, String, Exception) |
Initializes a new instance of the AuthorizationHeaderError class with the specified error code, message, and underlying exception. |
AuthorizationHeaderError()
Initializes a new instance of the AuthorizationHeaderError class.
public AuthorizationHeaderError();
Public Sub New ()
Applies to
AuthorizationHeaderError(String, String)
Initializes a new instance of the AuthorizationHeaderError class with the specified error code and message.
public AuthorizationHeaderError(string code, string message);
new Microsoft.Identity.Abstractions.AuthorizationHeaderError : string * string -> Microsoft.Identity.Abstractions.AuthorizationHeaderError
Public Sub New (code As String, message As String)
Parameters
- code
- String
The error code that identifies the type of error.
- message
- String
A human-readable message describing the error.
Applies to
AuthorizationHeaderError(String, String, Exception)
Initializes a new instance of the AuthorizationHeaderError class with the specified error code, message, and underlying exception.
public AuthorizationHeaderError(string code, string message, Exception? exception);
new Microsoft.Identity.Abstractions.AuthorizationHeaderError : string * string * Exception -> Microsoft.Identity.Abstractions.AuthorizationHeaderError
Public Sub New (code As String, message As String, exception As Exception)
Parameters
- code
- String
The error code that identifies the type of error.
- message
- String
A human-readable message describing the error.
- exception
- Exception
The underlying exception that caused this error.