Extensions.GZipSerialize(ResumptionCookie) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use ConversationReference.
二進位序列化 ResumptionCookie 使用 GZipStream。
[System.Obsolete("Use ConversationReference.")]
public static string GZipSerialize(this Microsoft.Bot.Builder.Dialogs.ResumptionCookie resumptionCookie);
[<System.Obsolete("Use ConversationReference.")>]
static member GZipSerialize : Microsoft.Bot.Builder.Dialogs.ResumptionCookie -> string
<Extension()>
Public Function GZipSerialize (resumptionCookie As ResumptionCookie) As String
參數
- resumptionCookie
- ResumptionCookie
恢復餅乾。
傳回
一個 Base64 編碼的字串。
- 屬性