C# Класс Microsoft.Azure.Commands.Common.Authentication.Models.RPRegistrationDelegatingHandler

Наследование: System.Net.Http.DelegatingHandler, ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : object
RPRegistrationDelegatingHandler ( Func createClient, Action writeDebug ) : Microsoft.Azure.Commands.ResourceManager.Common.Properties

Защищенные методы

Метод Описание
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Приватные методы

Метод Описание
GetProviderName ( Uri requestUri ) : string

Extract provider name from request uri such as "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}" We analyze the uri's segments and check the index of 5 is "providers/" and return the next segment.

IsProviderNotRegistereError ( HttpResponseMessage responseMessage ) : bool

Описание методов

Clone() публичный Метод

public Clone ( ) : object
Результат object

RPRegistrationDelegatingHandler() публичный Метод

public RPRegistrationDelegatingHandler ( Func createClient, Action writeDebug ) : Microsoft.Azure.Commands.ResourceManager.Common.Properties
createClient Func
writeDebug Action
Результат Microsoft.Azure.Commands.ResourceManager.Common.Properties

SendAsync() защищенный Метод

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
Результат Task