Partilhar via


StateClient Construtores

Definição

Sobrecargas

StateClient(DelegatingHandler[])
StateClient(Uri, String, String, DelegatingHandler[])
Obsoleto.
StateClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
StateClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])
Obsoleto.
StateClient(Uri, HttpClientHandler, DelegatingHandler[])
StateClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
StateClient(Uri, ServiceClientCredentials, DelegatingHandler[])
StateClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])
Obsoleto.
StateClient(Uri, DelegatingHandler[])
StateClient(HttpClientHandler, DelegatingHandler[])
StateClient(HttpClient, Boolean)
StateClient(ServiceClientCredentials, DelegatingHandler[])
StateClient(ServiceClientCredentials, HttpClient, Boolean)

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())

Parâmetros

handlers
DelegatingHandler[]

Aplica-se a

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

Atenção

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())

Parâmetros

baseUri
Uri
microsoftAppId
String
microsoftAppPassword
String
handlers
DelegatingHandler[]
Atributos

Aplica-se a

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())

Parâmetros

baseUri
Uri
credentials
Microsoft.Rest.ServiceClientCredentials
rootHandler
HttpClientHandler
handlers
DelegatingHandler[]

Aplica-se a

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

Atenção

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())

Parâmetros

baseUri
Uri
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]
Atributos

Aplica-se a

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())

Parâmetros

baseUri
Uri
rootHandler
HttpClientHandler
handlers
DelegatingHandler[]

Aplica-se a

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())

Parâmetros

credentials
Microsoft.Rest.ServiceClientCredentials
rootHandler
HttpClientHandler
handlers
DelegatingHandler[]

Aplica-se a

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())

Parâmetros

baseUri
Uri
credentials
Microsoft.Rest.ServiceClientCredentials
handlers
DelegatingHandler[]

Aplica-se a

StateClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])

Atenção

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())

Parâmetros

addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]
Atributos

Aplica-se a

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())

Parâmetros

baseUri
Uri
handlers
DelegatingHandler[]

Aplica-se a

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())

Parâmetros

rootHandler
HttpClientHandler
handlers
DelegatingHandler[]

Aplica-se a

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)

Parâmetros

httpClient
HttpClient
disposeHttpClient
Boolean

Aplica-se a

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())

Parâmetros

credentials
Microsoft.Rest.ServiceClientCredentials
handlers
DelegatingHandler[]

Aplica-se a

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)

Parâmetros

credentials
Microsoft.Rest.ServiceClientCredentials
httpClient
HttpClient
disposeHttpClient
Boolean

Aplica-se a