Редагувати

Поділитися через


AuthenticationSection Constructor

Definition

Initializes a new instance of the AuthenticationSection class.

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

Examples

The following code example shows how to obtain a AuthenticationSection object.

AuthenticationSection newauthenticationSection =
    new AuthenticationSection();
  Dim newauthenticationSection _
  As New AuthenticationSection()

Remarks

The AuthenticationSection constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the AuthenticationSection class by using the GetSection method.

Applies to