SecurityKeyIdentifier.Find<TClause> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for a key identifier clause of the specified type and returns the first occurrence within the entire collection.
public:
generic <typename TClause>
where TClause : System::IdentityModel::Tokens::SecurityKeyIdentifierClause TClause Find();
public TClause Find<TClause> () where TClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
member this.Find : unit -> 'Clause (requires 'Clause :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Function Find(Of TClause As SecurityKeyIdentifierClause) () As TClause
Type Parameters
- TClause
A SecurityKeyIdentifierClause that represents the type of key identifier clause to search the collection for.
Returns
The first SecurityKeyIdentifierClause in the collection that is of the type specified in the TClause
parameter.
Exceptions
TClause
is null
.
The collection does not contain a key identifier clause of the type specified in the TClause
parameter.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈