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
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET