Visual Guard Class Library Documentation

VGPrincipalPermission.Demand Method 

Determines at run time whether the current Visual Guard principal matches the principal specified by the current permission.

public void Demand();

Implements

IPermission.

Exceptions

Exception Type Condition
SecurityException The current principal does not pass the security check for the principal specified by the current permission.

-or-

The current IPrincipal is null.

See Also

VGPrincipalPermission Class | Novalys.VisualGuard.Security Namespace