Język

SecurityKeyIdentifier.CreateKey Metoda

Definicja

Tworzy klucz dla jednej z klauzul identyfikatora klucza.

public:
 System::IdentityModel::Tokens::SecurityKey ^ CreateKey();
public System.IdentityModel.Tokens.SecurityKey CreateKey();
member this.CreateKey : unit -> System.IdentityModel.Tokens.SecurityKey
Public Function CreateKey () As SecurityKey

Zwraca

Element SecurityKey reprezentujący utworzony klucz.

Wyjątki

Nie można utworzyć klucza dla żadnej z klauzul identyfikatora klucza.

Uwagi

Zwracana SecurityKey wartość to pierwsza klauzula identyfikatora klucza w kolekcji, która może utworzyć klucz.

Dotyczy