FormsIdentity Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the FormsIdentity class.
Overloads
FormsIdentity(FormsAuthenticationTicket) |
Initializes a new instance of the FormsIdentity class. |
FormsIdentity(FormsIdentity) |
Initializes a new instance of the FormsIdentity class based on the specified identity. |
FormsIdentity(FormsAuthenticationTicket)
Initializes a new instance of the FormsIdentity class.
public:
FormsIdentity(System::Web::Security::FormsAuthenticationTicket ^ ticket);
public FormsIdentity (System.Web.Security.FormsAuthenticationTicket ticket);
new System.Web.Security.FormsIdentity : System.Web.Security.FormsAuthenticationTicket -> System.Web.Security.FormsIdentity
Public Sub New (ticket As FormsAuthenticationTicket)
Parameters
- ticket
- FormsAuthenticationTicket
The authentication ticket upon which this identity is based.
See also
Applies to
FormsIdentity(FormsIdentity)
Initializes a new instance of the FormsIdentity class based on the specified identity.
protected:
FormsIdentity(System::Web::Security::FormsIdentity ^ identity);
protected FormsIdentity (System.Web.Security.FormsIdentity identity);
new System.Web.Security.FormsIdentity : System.Web.Security.FormsIdentity -> System.Web.Security.FormsIdentity
Protected Sub New (identity As FormsIdentity)
Parameters
- identity
- FormsIdentity
The identity upon which this identity is based.
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по