Compartilhar via


Extensions.ToConversationReference Método

Definição

Sobrecargas

ToConversationReference(IAddress)

Cria um ConversationReference de IAddress.

ToConversationReference(ResumptionCookie)

Cria um ConversationReference de ResumptionCookie.

ToConversationReference(IActivity)

Cria um ConversationReference de IActivity.

ToConversationReference(IAddress)

Origem:
ResumptionContext.cs
public static Microsoft.Bot.Connector.ConversationReference ToConversationReference (this Microsoft.Bot.Builder.Dialogs.IAddress address);
static member ToConversationReference : Microsoft.Bot.Builder.Dialogs.IAddress -> Microsoft.Bot.Connector.ConversationReference
<Extension()>
Public Function ToConversationReference (address As IAddress) As ConversationReference

Parâmetros

address
IAddress

O endereço.

Retornos

O ConversationReference.

Aplica-se a

ToConversationReference(ResumptionCookie)

Origem:
ResumptionContext.cs
public static Microsoft.Bot.Connector.ConversationReference ToConversationReference (this Microsoft.Bot.Builder.Dialogs.ResumptionCookie resumptionCookie);
static member ToConversationReference : Microsoft.Bot.Builder.Dialogs.ResumptionCookie -> Microsoft.Bot.Connector.ConversationReference
<Extension()>
Public Function ToConversationReference (resumptionCookie As ResumptionCookie) As ConversationReference

Parâmetros

resumptionCookie
ResumptionCookie

O cookie de retomada.

Retornos

O ConversationReference.

Aplica-se a

ToConversationReference(IActivity)

Origem:
ResumptionContext.cs
public static Microsoft.Bot.Connector.ConversationReference ToConversationReference (this Microsoft.Bot.Connector.IActivity activity);
static member ToConversationReference : Microsoft.Bot.Connector.IActivity -> Microsoft.Bot.Connector.ConversationReference
<Extension()>
Public Function ToConversationReference (activity As IActivity) As ConversationReference

Parâmetros

activity
IActivity

O IActivity postado no bot.

Retornos

O ConversationReference.

Aplica-se a