AspNetHostingPermission.IsSubsetOf(IPermission) Método
Definição
Retorna um valor que indica se a permissão atual é um subconjunto da permissão especificada.Returns a value indicating whether the current permission is a subset of the specified permission.
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
A IPermission a ser combinada com a permissão atual.The IPermission to combine with the current permission. Ela deve ser do mesmo tipo da IPermission atual.It must be of the same type as the current IPermission.
Retornos
true se a IPermission atual for um subconjunto da IPermission especificada; caso contrário, false.true if the current IPermission is a subset of the specified IPermission; otherwise, false.
Exceções
target não é um AspNetHostingPermission.target is not an AspNetHostingPermission.