Język

OAuthClient Konstruktory

Definicja

Przeciążenia

Nazwa Opis
OAuthClient(DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(Uri, String, String, DelegatingHandler[])
OAuthClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])
OAuthClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])
OAuthClient(Uri, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(ServiceClientCredentials, HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy OAuthClient.

OAuthClient(DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

protected OAuthClient(params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

Parametry

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Dotyczy

OAuthClient(Uri, String, String, DelegatingHandler[])

public OAuthClient(Uri baseUri, string microsoftAppId = default, string microsoftAppPassword = default, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * string * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, Optional microsoftAppId As String = Nothing, Optional microsoftAppPassword As String = Nothing, ParamArray handlers As DelegatingHandler())

Parametry

baseUri
Uri
microsoftAppId
String
microsoftAppPassword
String
handlers
DelegatingHandler[]

Dotyczy

OAuthClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])

public OAuthClient(Uri baseUri, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parametry

baseUri
Uri
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

Dotyczy

OAuthClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

protected OAuthClient(Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parametry

baseUri
Uri

Optional. Bazowy URI tej usługi.

rootHandler
HttpClientHandler

Optional. Obsługa klienta http była używana do obsługi transportu http.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy

OAuthClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

public OAuthClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parametry

baseUri
Uri

Optional. Bazowy URI tej usługi.

credentials
Microsoft.Rest.ServiceClientCredentials

Required. Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy

OAuthClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

public OAuthClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parametry

credentials
Microsoft.Rest.ServiceClientCredentials

Required. Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

rootHandler
HttpClientHandler

Optional. Obsługa klienta http była używana do obsługi transportu http.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy

OAuthClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

public OAuthClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parametry

baseUri
Uri

Optional. Bazowy URI tej usługi.

credentials
Microsoft.Rest.ServiceClientCredentials

Required. Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

rootHandler
HttpClientHandler

Optional. Obsługa klienta http była używana do obsługi transportu http.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy

OAuthClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])

public OAuthClient(Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parametry

addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

Dotyczy

OAuthClient(Uri, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

protected OAuthClient(Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())

Parametry

baseUri
Uri

Optional. Bazowy URI tej usługi.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy

OAuthClient(HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

protected OAuthClient(System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parametry

rootHandler
HttpClientHandler

Optional. Obsługa klienta http była używana do obsługi transportu http.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Dotyczy

OAuthClient(HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy OAuthClient.

protected OAuthClient(System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.OAuthClient : System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

Parametry

httpClient
HttpClient

HttpClient do użycia.

disposeHttpClient
Boolean

True: pozbywa się udostępnionego httpClient po wywołaniu OAuthClient.Dispose(). Fałsz: nie pozbędzie się dostarczonego httpClient.

Dotyczy

OAuthClient(ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy OAuthClient.

public OAuthClient(Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parametry

credentials
Microsoft.Rest.ServiceClientCredentials

Required. Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

handlers
DelegatingHandler[]

Optional. Delegują obsługiwacze do dodawania do pipeline'u klienta http.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy

OAuthClient(ServiceClientCredentials, HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy OAuthClient.

public OAuthClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

Parametry

credentials
Microsoft.Rest.ServiceClientCredentials

Required. Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

httpClient
HttpClient

HttpClient do użycia.

disposeHttpClient
Boolean

True: pozbywa się udostępnionego httpClient po wywołaniu OAuthClient.Dispose(). Fałsz: nie pozbędzie się dostarczonego httpClient.

Wyjątki

Rzucane, gdy wymagany parametr jest null.

Dotyczy