ResponseClassificationHandler.TryClassify(HttpMessage, Boolean) Method

Definition

Populates the isError out parameter to indicate whether or not to classify the message's response as an error.

public abstract bool TryClassify (Azure.Core.HttpMessage message, out bool isError);
abstract member TryClassify : Azure.Core.HttpMessage * bool -> bool
Public MustOverride Function TryClassify (message As HttpMessage, ByRef isError As Boolean) As Boolean

Parameters

message
HttpMessage

The message to classify.

isError
Boolean

Whether the message's response should be considered an error.

Returns

true if the handler had a classification for this message; false otherwise.

Applies to