你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MessageLoggingPolicy 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 PipelinePolicy used by a ClientPipeline to log request and response information.
public class MessageLoggingPolicy : System.ClientModel.Primitives.PipelinePolicy
type MessageLoggingPolicy = class
inherit PipelinePolicy
Public Class MessageLoggingPolicy
Inherits PipelinePolicy
- Inheritance
Constructors
MessageLoggingPolicy(ClientLoggingOptions) |
Creates a new instance of the MessageLoggingPolicy class. |
Properties
Default |
The ClientRetryPolicy instance used by a default ClientPipeline. |
Methods
Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Process the provided PipelineMessage according to the intended purpose of this PipelinePolicyinstance. Derived types must pass control to the next PipelinePolicy in the pipeline by calling ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). |
ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Process the provided PipelineMessage according to the intended purpose of this PipelinePolicyinstance. Derived types must pass control to the next PipelinePolicy in the pipeline by calling ProcessNextAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). |