ProtectedOperation.IsSupersetOf(ProtectedOperation) 方法

定义

获取一个值,该值指示此是否已被 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

其他操作,可以是此操作的子集。

返回

Boolean

如果此实例是另一个的超集,则为 true ; 否则为。否则为 false

注解

在基实现中,如果 OperationMoniker 等于并且 RequiredTrustLevel 等于或大于值,则将超集视为 true。

适用于