Partager via


Extensions.ToConversationReference Méthode

Définition

Surcharges

ToConversationReference(IAddress)

Crée un ConversationReference à partir de IAddress.

ToConversationReference(ResumptionCookie)

Crée un ConversationReference à partir de ResumptionCookie.

ToConversationReference(IActivity)

Crée un ConversationReference à partir de IActivity.

ToConversationReference(IAddress)

Source:
ResumptionContext.cs

Crée un ConversationReference à partir de IAddress.

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

Paramètres

address
IAddress

Adresse.

Retours

Le ConversationReference.

S’applique à

ToConversationReference(ResumptionCookie)

Source:
ResumptionContext.cs

Crée un ConversationReference à partir de ResumptionCookie.

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

Paramètres

resumptionCookie
ResumptionCookie

Cookie de reprise.

Retours

Le ConversationReference.

S’applique à

ToConversationReference(IActivity)

Source:
ResumptionContext.cs

Crée un ConversationReference à partir de IActivity.

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

Paramètres

activity
IActivity

publié IActivity dans le bot.

Retours

Le ConversationReference.

S’applique à