Extensions.ToConversationReference 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ToConversationReference(IAddress) | |
ToConversationReference(ResumptionCookie) | |
ToConversationReference(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
参数
- address
- IAddress
地址。
返回
适用于
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
参数
- resumptionCookie
- ResumptionCookie
恢复 Cookie。
返回
适用于
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