AutoClientException 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
AutoClientException(String, String, AutoClientHttpError) |
Initializes a new instance of the AutoClientException class. |
AutoClientException(String, Exception, String, AutoClientHttpError) |
Initializes a new instance of the AutoClientException class. |
AutoClientException(String, String, AutoClientHttpError)
- Source:
- AutoClientException.cs
Initializes a new instance of the AutoClientException class.
public AutoClientException(string message, string path, Microsoft.Extensions.Http.AutoClient.AutoClientHttpError? error = default);
new Microsoft.Extensions.Http.AutoClient.AutoClientException : string * string * Microsoft.Extensions.Http.AutoClient.AutoClientHttpError -> Microsoft.Extensions.Http.AutoClient.AutoClientException
Public Sub New (message As String, path As String, Optional error As AutoClientHttpError = Nothing)
Parameters
- message
- String
The exception message.
- path
- String
The path of the request.
- error
- AutoClientHttpError
The HTTP error details.
Applies to
AutoClientException(String, Exception, String, AutoClientHttpError)
- Source:
- AutoClientException.cs
Initializes a new instance of the AutoClientException class.
public AutoClientException(string message, Exception innerException, string path, Microsoft.Extensions.Http.AutoClient.AutoClientHttpError? error = default);
new Microsoft.Extensions.Http.AutoClient.AutoClientException : string * Exception * string * Microsoft.Extensions.Http.AutoClient.AutoClientHttpError -> Microsoft.Extensions.Http.AutoClient.AutoClientException
Public Sub New (message As String, innerException As Exception, path As String, Optional error As AutoClientHttpError = Nothing)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The exception that is the cause of the current exception.
- path
- String
The path of the request.
- error
- AutoClientHttpError
The HTTP error details.