你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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