FormsAuthentication.Initialize 方法

定义

根据应用程序的配置设置初始化 FormsAuthentication 对象。

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

注解

Initialize创建类的FormsAuthentication实例时FormsAuthenticationModule调用该方法。 此方法不应在您的代码中调用。

适用于

另请参阅