ResponseClassificationHandler.TryClassify(HttpMessage, Boolean) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET