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。