ClientRequestTrackingHandler 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.
Enables adding a correlation id to messages so that messages that are part of a long-running operation can be grouped together
public class ClientRequestTrackingHandler : System.Net.Http.MessageProcessingHandler
type ClientRequestTrackingHandler = class
inherit MessageProcessingHandler
Public Class ClientRequestTrackingHandler
Inherits MessageProcessingHandler
- Inheritance
-
ClientRequestTrackingHandler
Constructors
ClientRequestTrackingHandler(String) |
Creates a request tracking handler with the specified tracking ID |
Properties
TrackingId |
The tracking ID for the operation |
Methods
ProcessRequest(HttpRequestMessage, CancellationToken) |
Adds the tracking ID for this operation to the outgoing request header |
ProcessResponse(HttpResponseMessage, CancellationToken) |
Adds the tracking ID for this operation to the incoming response header |