Jaa


Extensions.ToConversationReference Method

Definition

Overloads

ToConversationReference(IAddress)

Creates a ConversationReference from IAddress.

ToConversationReference(ResumptionCookie)

Creates a ConversationReference from ResumptionCookie.

ToConversationReference(IActivity)

Creates a ConversationReference from IActivity.

ToConversationReference(IAddress)

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

Parameters

address
IAddress

The address.

Returns

The ConversationReference.

Applies to

ToConversationReference(ResumptionCookie)

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

Parameters

resumptionCookie
ResumptionCookie

The resumption cookie.

Returns

The ConversationReference.

Applies to

ToConversationReference(IActivity)

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

Parameters

activity
IActivity

The IActivity posted to bot.

Returns

The ConversationReference.

Applies to