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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET