共用方式為


ClientRequestTrackingHandler.ProcessRequest Method

Definition

Adds the tracking ID for this operation to the outgoing request header

protected override System.Net.Http.HttpRequestMessage ProcessRequest (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);
override this.ProcessRequest : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Net.Http.HttpRequestMessage
Protected Overrides Function ProcessRequest (request As HttpRequestMessage, cancellationToken As CancellationToken) As HttpRequestMessage

Parameters

request
HttpRequestMessage

The http request message

cancellationToken
CancellationToken

A token that allows canceling the http operation

Returns

The outgoing http request message with the tracking ID header added

Applies to