語言

ResumptionCookie 類別

定義

警告

Use ConversationReference.

恢復 Cookie 可用來恢復與使用者的對話。

[System.Obsolete("Use ConversationReference.")]
[System.Serializable]
public sealed class ResumptionCookie : IEquatable<Microsoft.Bot.Builder.Dialogs.ResumptionCookie>
[<System.Obsolete("Use ConversationReference.")>]
[<System.Serializable>]
type ResumptionCookie = class
    interface IEquatable<ResumptionCookie>
Public NotInheritable Class ResumptionCookie
Implements IEquatable(Of ResumptionCookie)
繼承
ResumptionCookie
屬性
實作

建構函式

名稱 Description
ResumptionCookie(Address, String, Boolean, String)
已淘汰.

建立一個恢復 Cookie 的實例。

ResumptionCookie(IMessageActivity)
已淘汰.

建立一個恢復 Cookie 的實例 IMessageActivity

屬性

名稱 Description
Address
已淘汰.

這把鑰匙能最小且完整地識別機器人與頻道用戶的對話內容。

IsGroup
已淘汰.

IsGroup 的對話標記。

IsTrustedServiceUrl
已淘汰.

如果值得信任, ServiceUrl 這是真的;否則就是錯誤。

Locale
已淘汰.

訊息的地點。

UserName
已淘汰.

使用者名稱。

方法

名稱 Description
Equals(Object)
已淘汰.

恢復 Cookie 可用來恢復與使用者的對話。

Equals(ResumptionCookie)
已淘汰.

恢復 Cookie 可用來恢復與使用者的對話。

GetHashCode()
已淘汰.

恢復 Cookie 可用來恢復與使用者的對話。

GetMessage()
已淘汰.

從恢復 cookie 建立訊息。

GZipDeserialize(String)
已淘汰.

ResumptionCookie使用 GZipSerialize(ResumptionCookie).

擴充方法

名稱 Description
GZipSerialize(ResumptionCookie)
已淘汰.

二進位序列化 ResumptionCookie 使用 GZipStream。

ToConversationReference(ResumptionCookie)
已淘汰.

由 產生ResumptionCookie一個 ConversationReference 。

適用於