AuthorizationContext.Properties 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与此 AuthorizationContext 对象关联的非声明属性的集合。
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> 个指定非声明属性的集合。
注解
Windows Communication Foundation保留两个属性:Identities 和 Principal。 该 Identities 属性由一 IAuthorizationPolicy 个或多个标识用于指定 IList<T> 与该 AuthorizationContext属性相关的一个或多个标识。 该 Principal 属性由一个 IAuthorizationPolicy 属性用于指定 IPrincipal 与一个 AuthorizationContext关联的属性。