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

PipelineMessage.ResponseClassifier Property

Definition

Gets or sets the PipelineMessageClassifier used by the ClientPipeline to determine whether the response received from the service is considered an error and populate the IsError on Response.

This property is intended to be set in a client's service method to a a PipelineMessageClassifier that classifies responses as success responses based on the service API's published success codes. Setting this value outside the service method will override the client-specified classifier and may result in undesired behavior.

public System.ClientModel.Primitives.PipelineMessageClassifier ResponseClassifier { get; set; }
member this.ResponseClassifier : System.ClientModel.Primitives.PipelineMessageClassifier with get, set
Public Property ResponseClassifier As PipelineMessageClassifier

Property Value

Applies to