Determines whether the immediate caller of the code that calls this method has been granted the permission specified by the current permission object.
[Visual Basic] Sub DemandImmediate() [C#] void DemandImmediate(); [C++] void DemandImmediate() = 0; [JScript] function DemandImmediate();
Exception Type | Condition |
---|---|
SecurityException | if the immediate caller does not pass the security check for the permission specified by the current permission object. |
This method is called by the NGWS runtime during link-time security checks. Although you can call this method, you will probably never need to.
IStackWalk Interface | IStackWalk Members | System.Security Namespace