C# 클래스 Microsoft.Azure.Commands.ResourceManager.Cmdlets.Handlers.UserAgentHandler

The user agent handler.
상속: System.Net.Http.DelegatingHandler
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
UserAgentHandler ( IEnumerable headerValues ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions

Initializes a new instance of the UserAgentHandler class.

보호된 메소드들

메소드 설명
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Add the user agent to the outgoing request.

메소드 상세

SendAsync() 보호된 메소드

Add the user agent to the outgoing request.
protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage The HTTP request message.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

UserAgentHandler() 공개 메소드

Initializes a new instance of the UserAgentHandler class.
public UserAgentHandler ( IEnumerable headerValues ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions
headerValues IEnumerable The product info to add as headers.
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions