AuthenticationTicket.Clone 方法

定义

返回票证的副本。

public:
 Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ Clone();
public Microsoft.AspNetCore.Authentication.AuthenticationTicket Clone ();
member this.Clone : unit -> Microsoft.AspNetCore.Authentication.AuthenticationTicket
Public Function Clone () As AuthenticationTicket

返回

票证副本

注解

方法通过在每个 Identities上调用 Clone() 来克隆 Principal

适用于