Partager via


ErrorResponseMessageException Constructor

Definition

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.

Applies to