Visual Guard Class Library Documentation

VGSecurityRuntime.VGSecurityErrorEventHandler Event

Occurs when Visual Guard loads security actions and a type are unknown or when Visual Guard sets the security of an object and an exception occurs.

public event VGSecurityErrorEventHandler SecurityError;

Event Data

The event handler receives an argument of type VGSecurityErrorEventArgs containing data related to this event. The following VGSecurityErrorEventArgs properties provide information specific to this event.

Property Description
Continue Gets or sets a value indicating if the exception must ignore or thrown.
Exception Gets or sets an exception generated by Visual Guard.
Principal Gets the VGIPrincipal representing the current user.

Remarks

For more information about this event, you can see PermissionsLoading.

See Also

VGSecurityRuntime Class | Novalys.VisualGuard.Security Namespace