Język

MachineKeySessionSecurityTokenHandler Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy MachineKeySessionSecurityTokenHandler.

Przeciążenia

Nazwa Opis
MachineKeySessionSecurityTokenHandler()

Inicjuje nowe wystąpienie klasy MachineKeySessionSecurityTokenHandler.

MachineKeySessionSecurityTokenHandler(TimeSpan)

Inicjuje nowe wystąpienie MachineKeySessionSecurityTokenHandler klasy, która ma określony domyślny okres istnienia tokenu.

MachineKeySessionSecurityTokenHandler()

Inicjuje nowe wystąpienie klasy MachineKeySessionSecurityTokenHandler.

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

Dotyczy

MachineKeySessionSecurityTokenHandler(TimeSpan)

Inicjuje nowe wystąpienie MachineKeySessionSecurityTokenHandler klasy, która ma określony domyślny okres istnienia tokenu.

public:
 MachineKeySessionSecurityTokenHandler(TimeSpan tokenLifetime);
public MachineKeySessionSecurityTokenHandler(TimeSpan tokenLifetime);
new System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler : TimeSpan -> System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler
Public Sub New (tokenLifetime As TimeSpan)

Parametry

tokenLifetime
TimeSpan

Domyślny okres istnienia tokenu.

Wyjątki

tokenLifetime jest krótszy niż lub równy Zero

Dotyczy