Extensions.ToConversationReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Creates a ConversationReference from 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
Parameters
- address
- IAddress
The address.
Returns
Applies to
ToConversationReference(ResumptionCookie)
- Source:
- ResumptionContext.cs
Creates a ConversationReference from 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
Parameters
- resumptionCookie
- ResumptionCookie
The resumption cookie.
Returns
Applies to
ToConversationReference(IActivity)
- Source:
- ResumptionContext.cs
Creates a ConversationReference from 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