MachineKeySessionSecurityTokenHandler Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy MachineKeySessionSecurityTokenHandler.

Przeciążenia

MachineKeySessionSecurityTokenHandler()

Inicjuje nowe wystąpienie klasy MachineKeySessionSecurityTokenHandler.

MachineKeySessionSecurityTokenHandler(TimeSpan)

Inicjuje MachineKeySessionSecurityTokenHandler nowe wystąpienie klasy, które 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 MachineKeySessionSecurityTokenHandler nowe wystąpienie klasy, które 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