FormsAuthenticationConfiguration 构造函数

定义

初始化 FormsAuthenticationConfiguration 类的新实例。

public:
 FormsAuthenticationConfiguration();
public FormsAuthenticationConfiguration();
Public Sub New ()

示例

下面的代码示例演示如何创建 FormsAuthenticationConfiguration 对象。

// Create a new FormsAuthentication object.
FormsAuthenticationConfiguration newformsAuthentication =
new FormsAuthenticationConfiguration();
' Create a new FormsAuthentication object.
Dim newformsAuthentication _
As New FormsAuthenticationConfiguration()

适用于