MessageQueuePermission.IsSubsetOf(IPermission) Método

Definição

Retorna um valor que indica se o objeto de permissão atual é um subconjunto do objeto de permissão especificado.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

Parâmetros

target
IPermission

Um objeto de permissão que deve ser testado para a relação de subconjunto.A permission object that is to be tested for the subset relationship. Este objeto deve ser do mesmo tipo que o objeto de permissão atual.This object must be of the same type as the current permission object.

Retornos

Boolean

true se o objeto de permissão atual for um subconjunto do objeto de permissão especificado; caso contrário, false.true if the current permission object is a subset of the specified permission object; otherwise, false.

Aplica-se a