CodeAccessPermission.IStackWalk.Demand 方法

定义

在运行时确定调用堆栈中的所有调用方是否已被授予当前权限对象所指定的权限。Determines at run time whether all callers in the call stack have been granted the permission specified by the current permission object.

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

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 CodeAccessPermission 实例被强制转换为 IStackWalk 接口时使用。It can be used only when the CodeAccessPermission instance is cast to an IStackWalk interface.

适用于