MachineKeySessionSecurityTokenHandler Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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