.NET Framework 4
The IStackWalk type exposes the following members.
|Assert||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.|
|Demand||Determines at run time whether all callers in the call stack have been granted the permission specified by the current permission object.|
|Deny||Causes every Demand for the current object that passes through the calling code to fail.|
|PermitOnly||Causes every Demand for all objects except the current one that passes through the calling code to fail, even if code higher in the call stack has been granted permission to access other resources.|