PipelineMessage.ResponseClassifier Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET