CodeAccessPermission.IStackWalk.Assert Método

Definição

Declara que código de chamada pode acessar o recurso identificado pelo objeto de permissão atual, mesmo que os chamadores na pilha não tenham recebido permissão para acessar o recurso.Asserts that the calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource.

 virtual void System.Security.IStackWalk.Assert() = System::Security::IStackWalk::Assert;
void IStackWalk.Assert ();
abstract member System.Security.IStackWalk.Assert : unit -> unit
override this.System.Security.IStackWalk.Assert : unit -> unit
Sub Assert () Implements IStackWalk.Assert

Implementações

Comentários

Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de CodeAccessPermission é convertida em uma interface de IStackWalk.It can be used only when the CodeAccessPermission instance is cast to an IStackWalk interface.

Aplica-se a