StateClient Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
StateClient(DelegatingHandler[])
protected StateClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Protected Sub New (ParamArray handlers As DelegatingHandler())
Paramètres
- handlers
- DelegatingHandler[]
S’applique à
StateClient(Uri, String, String, DelegatingHandler[])
Attention
The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.
[System.Obsolete("The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.", false)]
public StateClient (Uri baseUri, string microsoftAppId = default, string microsoftAppPassword = default, params System.Net.Http.DelegatingHandler[] handlers);
[<System.Obsolete("The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.", false)>]
new Microsoft.Bot.Connector.StateClient : Uri * string * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (baseUri As Uri, Optional microsoftAppId As String = Nothing, Optional microsoftAppPassword As String = Nothing, ParamArray handlers As DelegatingHandler())
Paramètres
- baseUri
- Uri
- microsoftAppId
- String
- microsoftAppPassword
- String
- handlers
- DelegatingHandler[]
- Attributs
S’applique à
StateClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
public StateClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
Paramètres
- baseUri
- Uri
- credentials
- Microsoft.Rest.ServiceClientCredentials
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]
S’applique à
StateClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])
Attention
The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.
[System.Obsolete("The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.", false)]
public StateClient (Uri baseUri, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
[<System.Obsolete("The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.", false)>]
new Microsoft.Bot.Connector.StateClient : Uri * Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())
Paramètres
- baseUri
- Uri
- credentials
- MicrosoftAppCredentials
- addJwtTokenRefresher
- Boolean
- handlers
- DelegatingHandler[]
- Attributs
S’applique à
StateClient(Uri, HttpClientHandler, DelegatingHandler[])
protected StateClient (Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
Paramètres
- baseUri
- Uri
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]
S’applique à
StateClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
public StateClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
Paramètres
- credentials
- Microsoft.Rest.ServiceClientCredentials
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]
S’applique à
StateClient(Uri, ServiceClientCredentials, DelegatingHandler[])
public StateClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())
Paramètres
- baseUri
- Uri
- credentials
- Microsoft.Rest.ServiceClientCredentials
- handlers
- DelegatingHandler[]
S’applique à
StateClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])
Attention
The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.
[System.Obsolete("The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.", false)]
public StateClient (Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
[<System.Obsolete("The StateAPI is being deprecated. Please refer to https://aka.ms/yr235k for details on how to replace with your own storage.", false)>]
new Microsoft.Bot.Connector.StateClient : Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())
Paramètres
- credentials
- MicrosoftAppCredentials
- addJwtTokenRefresher
- Boolean
- handlers
- DelegatingHandler[]
- Attributs
S’applique à
StateClient(Uri, DelegatingHandler[])
protected StateClient (Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())
Paramètres
- baseUri
- Uri
- handlers
- DelegatingHandler[]
S’applique à
StateClient(HttpClientHandler, DelegatingHandler[])
protected StateClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
Paramètres
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]
S’applique à
StateClient(HttpClient, Boolean)
protected StateClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.StateClient : System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.StateClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)
Paramètres
- httpClient
- HttpClient
- disposeHttpClient
- Boolean
S’applique à
StateClient(ServiceClientCredentials, DelegatingHandler[])
public StateClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.StateClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())
Paramètres
- credentials
- Microsoft.Rest.ServiceClientCredentials
- handlers
- DelegatingHandler[]
S’applique à
StateClient(ServiceClientCredentials, HttpClient, Boolean)
public StateClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.StateClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.StateClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)
Paramètres
- credentials
- Microsoft.Rest.ServiceClientCredentials
- httpClient
- HttpClient
- disposeHttpClient
- Boolean