TicketSerializer.Serialize(AuthenticationTicket) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
序列化指定的 model
。
public:
virtual cli::array <System::Byte> ^ Serialize(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public virtual byte[] Serialize (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
abstract member Serialize : Microsoft.AspNetCore.Authentication.AuthenticationTicket -> byte[]
override this.Serialize : Microsoft.AspNetCore.Authentication.AuthenticationTicket -> byte[]
Public Overridable Function Serialize (ticket As AuthenticationTicket) As Byte()
参数
- ticket
- AuthenticationTicket
返回
Byte[]
序列化数据。