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

ErrorResponse Class

Definition

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

public class ErrorResponse
type ErrorResponse = class
Public Class ErrorResponse
Inheritance
ErrorResponse

Remarks

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

Constructors

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

ErrorResponse(String, String, String, IList<ErrorResponse>, IList<ErrorAdditionalInfo>)

Initializes a new instance of the ErrorResponse class.

Properties

AdditionalInfo

Gets the error additional info.

Code

Gets the error code.

Details

Gets the error details.

Message

Gets the error message.

Target

Gets the error target.

Extension Methods

ToFormattedString(ErrorResponse, Int32)
ToPSResourceManagerError(ErrorResponse)

Applies to