AuthorizationContext.Properties 属性
定义
获取与此 AuthorizationContext 对象关联的非声明属性的集合。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)
属性值
一个指定非声明属性集合的 Dictionary<TKey,TValue>。A Dictionary<TKey,TValue> that specifies a collection of non-claim properties.
注解
Windows Communication Foundation 保留两个属性: Identities 和 Principal 。Windows Communication Foundation reserves two properties: Identities and Principal. Identities 使用 IAuthorizationPolicy 属性指定与 IList<T> 关联的一个或多个标识的 AuthorizationContext。The Identities property is used by an IAuthorizationPolicy to specify the IList<T> of one or more identities that are related to the AuthorizationContext. Principal 使用 IAuthorizationPolicy 属性指定与 IPrincipal 关联的 AuthorizationContext。The Principal property is used by an IAuthorizationPolicy to specify the IPrincipal that is associated with an AuthorizationContext.