ActivityExtensions.GetStateClient Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetStateClient(IActivity, MicrosoftAppCredentials, String, DelegatingHandler[]) |
Obsoletos.
|
GetStateClient(IActivity, String, String, String, DelegatingHandler[]) |
GetStateClient(IActivity, MicrosoftAppCredentials, String, DelegatingHandler[])
Precaución
Deprecated: This method will only get the default state client, if you have implemented a custom state client it will not retrieve it
[System.Obsolete("Deprecated: This method will only get the default state client, if you have implemented a custom state client it will not retrieve it")]
public static Microsoft.Bot.Connector.StateClient GetStateClient (this Microsoft.Bot.Connector.IActivity activity, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, string serviceUrl = default, params System.Net.Http.DelegatingHandler[] handlers);
[<System.Obsolete("Deprecated: This method will only get the default state client, if you have implemented a custom state client it will not retrieve it")>]
static member GetStateClient : Microsoft.Bot.Connector.IActivity * Microsoft.Bot.Connector.MicrosoftAppCredentials * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
<Extension()>
Public Function GetStateClient (activity As IActivity, credentials As MicrosoftAppCredentials, Optional serviceUrl As String = Nothing, ParamArray handlers As DelegatingHandler()) As StateClient
Parámetros
- activity
- IActivity
- credentials
- MicrosoftAppCredentials
- serviceUrl
- String
- handlers
- DelegatingHandler[]
Devoluciones
- Atributos
Se aplica a
GetStateClient(IActivity, String, String, String, DelegatingHandler[])
public static Microsoft.Bot.Connector.StateClient GetStateClient (this Microsoft.Bot.Connector.IActivity activity, string microsoftAppId = default, string microsoftAppPassword = default, string serviceUrl = default, params System.Net.Http.DelegatingHandler[] handlers);
static member GetStateClient : Microsoft.Bot.Connector.IActivity * string * string * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.StateClient
<Extension()>
Public Function GetStateClient (activity As IActivity, Optional microsoftAppId As String = Nothing, Optional microsoftAppPassword As String = Nothing, Optional serviceUrl As String = Nothing, ParamArray handlers As DelegatingHandler()) As StateClient
Parámetros
- activity
- IActivity
- microsoftAppId
- String
- microsoftAppPassword
- String
- serviceUrl
- String
- handlers
- DelegatingHandler[]