你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ClientRequestTrackingHandler.ProcessRequest 方法

定义

将此操作的跟踪 ID 添加到传出请求标头

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

参数

request
HttpRequestMessage

http 请求消息

cancellationToken
CancellationToken

允许取消 http 操作的令牌

返回

添加了跟踪 ID 标头的传出 http 请求消息

适用于