SecurityKeyIdentifier.CreateKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為其中一個鍵識別子句建立一個鍵。
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
傳回
SecurityKey代表已建立的金鑰。
例外狀況
無法為任何金鑰識別子句建立金鑰。
備註
SecurityKey回傳的 是集合中第一個能建立鍵的金鑰識別子句。