FormsAuthentication.Initialize 方法

定义

根据应用程序的配置设置初始化 FormsAuthentication 对象。Initializes the FormsAuthentication object based on the configuration settings for the application.

public:
 static void Initialize();
public static void Initialize ();
static member Initialize : unit -> unit
Public Shared Sub Initialize ()

注解

Initialize当创建类的实例时,将调用方法 FormsAuthenticationModule FormsAuthenticationThe Initialize method is called when the FormsAuthenticationModule creates an instance of the FormsAuthentication class. 此方法不应在您的代码中调用。This method is not intended to be called from your code.

适用于