ResponseClassificationHandler Class
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.
A type that analyzes an HTTP message and determines if the response it holds should be treated as an error response. A classifier of this type may use information from the request, the response, or other message property to decide whether and how to classify the message.
This type'sTryClassify
method allows chaining together handlers before
applying default classifier logic.
If a handler in the chain returns false from TryClassify
,
the next handler will be tried, and so on. The first handler that returns true
will determine whether the response is an error.
public abstract class ResponseClassificationHandler
type ResponseClassificationHandler = class
Public MustInherit Class ResponseClassificationHandler
- Inheritance
-
ResponseClassificationHandler
Constructors
ResponseClassificationHandler() |
Methods
TryClassify(HttpMessage, Boolean) |
Populates the |
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per