ErrorResponseMessageException Constructor
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.
Initializes a new instance of the ErrorResponseMessageException class.
public ErrorResponseMessageException (System.Net.HttpStatusCode httpStatus, Microsoft.Azure.Commands.MachineLearning.ErrorResponseMessage errorResponseMessage, string errorMessage, Exception innerException = default);
new Microsoft.Azure.Commands.MachineLearning.ErrorResponseMessageException : System.Net.HttpStatusCode * Microsoft.Azure.Commands.MachineLearning.ErrorResponseMessage * string * Exception -> Microsoft.Azure.Commands.MachineLearning.ErrorResponseMessageException
Public Sub New (httpStatus As HttpStatusCode, errorResponseMessage As ErrorResponseMessage, errorMessage As String, Optional innerException As Exception = Nothing)
Parameters
- httpStatus
- HttpStatusCode
The http status code.
- errorResponseMessage
- ErrorResponseMessage
The error response code.
- errorMessage
- String
The error response message.
- innerException
- Exception
Optional. The inner exception.