次の方法で共有


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