AuthorizationContext.Properties Property
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.
Gets a collection of non-claim properties associated with this AuthorizationContext object.
public:
abstract property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ Properties { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
public abstract System.Collections.Generic.IDictionary<string,object> Properties { get; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Public MustOverride ReadOnly Property Properties As IDictionary(Of String, Object)
Property Value
A Dictionary<TKey,TValue> that specifies a collection of non-claim properties.
Remarks
Windows Communication Foundation reserves two properties: Identities
and Principal
. The Identities
property is used by an IAuthorizationPolicy to specify the IList<T> of one or more identities that are related to the AuthorizationContext. The Principal
property is used by an IAuthorizationPolicy to specify the IPrincipal that is associated with an AuthorizationContext.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應