StatusCodeClassifier Class

Definition

This type inherits from ResponseClassifier and is designed to work efficiently with classifier customizations specified in RequestContext.

public class StatusCodeClassifier : Azure.Core.ResponseClassifier
type StatusCodeClassifier = class
    inherit ResponseClassifier
Public Class StatusCodeClassifier
Inherits ResponseClassifier
Inheritance
StatusCodeClassifier

Constructors

StatusCodeClassifier(ReadOnlySpan<UInt16>)

Creates a new instance of StatusCodeClassifier

Methods

IsErrorResponse(HttpMessage)

Specifies if the response contained in the message is not successful.

IsRetriable(HttpMessage, Exception)

Specifies if the operation that caused the exception should be retried taking the HttpMessage into consideration.

(Inherited from ResponseClassifier)
IsRetriableException(Exception)

Specifies if the operation that caused the exception should be retried.

(Inherited from ResponseClassifier)
IsRetriableResponse(HttpMessage)

Specifies if the request contained in the message should be retried.

(Inherited from ResponseClassifier)

Applies to