System.Security.IStackWalk: Method Members

The methods of System.Security.IStackWalk are listed below. For a list of all members, see the IStackWalk Members list.

Public Methods

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 IStackWalk.Demand for the current object that passes through the calling code to fail.

PermitOnly()

Causes every IStackWalk.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.