FormsAuthenticationCredentials Construtor

Definição

Inicializa uma nova instância da classe FormsAuthenticationCredentials.Initializes a new instance of the FormsAuthenticationCredentials class.

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

Exemplos

O exemplo de código a seguir mostra como criar um FormsAuthenticationCredentials objeto.The following code example shows how to create a FormsAuthenticationCredentials object.

// Create a new FormsAuthenticationCredentials object.
FormsAuthenticationCredentials newformsAuthenticationCredentials = 
    new FormsAuthenticationCredentials();

' Create a new FormsAuthenticationCredentials object.
  Dim newformsAuthenticationCredentials _
  As New FormsAuthenticationCredentials()

Aplica-se a