ProtectedOperation.IsSupersetOf(ProtectedOperation) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示此 ProtectedOperation(如果已授予)是否意味着还应将另一个 ProtectedOperation 视为已授予。
public:
virtual bool IsSupersetOf(Microsoft::ServiceHub::Framework::Services::ProtectedOperation ^ other);
public virtual bool IsSupersetOf (Microsoft.ServiceHub.Framework.Services.ProtectedOperation other);
abstract member IsSupersetOf : Microsoft.ServiceHub.Framework.Services.ProtectedOperation -> bool
override this.IsSupersetOf : Microsoft.ServiceHub.Framework.Services.ProtectedOperation -> bool
Public Overridable Function IsSupersetOf (other As ProtectedOperation) As Boolean
参数
- other
- ProtectedOperation
另一个操作,可能是此操作的子集。
返回
true
如果此实例是另一个实例的超集,则为 ; false
否则。
注解
在基实现中,如果 OperationMoniker 相等且 RequiredTrustLevel 相等或更大值,则超集被视为 true。