AppCredentials.ProcessHttpRequestAsync 方法

定义

将凭据应用于 HTTP 请求。

public override System.Threading.Tasks.Task ProcessHttpRequestAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);
override this.ProcessHttpRequestAsync : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ProcessHttpRequestAsync (request As HttpRequestMessage, cancellationToken As CancellationToken) As Task

参数

request
HttpRequestMessage

HTTP 请求。

cancellationToken
CancellationToken

取消标记。

返回

表示异步操作的 Task

适用于