Share via


Extensions.GZipSerialize(ResumptionCookie) 方法

定义

注意

Use ConversationReference.

使用 GZipStream进行二进制序列化ResumptionCookie

[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

恢复 Cookie。

返回

Base64 编码的字符串。

属性

适用于