共用方式為


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[]

序列化的資料。

實作

適用於