CodeAccessPermission.IStackWalk.Deny 方法

定義

導致透過呼叫程式碼傳遞之目前物件的每一個 Demand() 都失敗。Causes every Demand() for the current object that passes through the calling code to fail.

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

實作

備註

這個成員是明確介面成員實作,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.

適用於