MessageQueuePermission.IsSubsetOf(IPermission) Method

Definition

Returns a value that indicates whether the current permission object is a subset of the specified permission object.

public:
 override bool IsSubsetOf(System::Security::IPermission ^ target);
public override bool IsSubsetOf (System.Security.IPermission target);
override this.IsSubsetOf : System.Security.IPermission -> bool
Public Overrides Function IsSubsetOf (target As IPermission) As Boolean

Parameters

target
IPermission

A permission object that is to be tested for the subset relationship. This object must be of the same type as the current permission object.

Returns

true if the current permission object is a subset of the specified permission object; otherwise, false.

Applies to