TicketSerializer.Serialize(AuthenticationTicket) 方法

定义

序列化指定的 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()

参数

返回

Byte[]

序列化数据。

实现

适用于