ClientRequestTrackingHandler Class

Definition

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

Applies to