NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IStackWalk.DemandImmediate

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();

Exceptions

Exception Type Condition
SecurityException if the immediate caller does not pass the security check for the permission specified by the current permission object.

Remarks

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.

See Also

IStackWalk Interface | IStackWalk Members | System.Security Namespace