Freigeben über


Extensions.ToConversationReference Methode

Definition

Überlädt

ToConversationReference(IAddress)

Erstellt einen ConversationReference aus IAddress.

ToConversationReference(ResumptionCookie)

Erstellt einen ConversationReference aus ResumptionCookie.

ToConversationReference(IActivity)

Erstellt einen ConversationReference aus IActivity.

ToConversationReference(IAddress)

Quelle:
ResumptionContext.cs

Erstellt einen ConversationReference aus 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

Parameter

address
IAddress

Die Adresse.

Gibt zurück

Das ConversationReference.

Gilt für:

ToConversationReference(ResumptionCookie)

Quelle:
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

Parameter

resumptionCookie
ResumptionCookie

Das Wiederaufnahme-Cookie.

Gibt zurück

Das ConversationReference.

Gilt für:

ToConversationReference(IActivity)

Quelle:
ResumptionContext.cs

Erstellt einen ConversationReference aus 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

Parameter

activity
IActivity

Die IActivity für bot gepostete.

Gibt zurück

Das ConversationReference.

Gilt für: