Creates a VGRolesInstance using a specific security runtime
Namespace:
Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
C# |
---|
public static VGRolesInstance CreateInstance( VGSecurityRuntime runtime ) |
Visual Basic (Declaration) |
---|
Public Shared Function CreateInstance ( _ runtime As VGSecurityRuntime _ ) As VGRolesInstance |
Parameters
- runtime
- Type: Novalys.VisualGuard.Security..::.VGSecurityRuntime
The security runtime used by the created instance.
Return Value
A new instance of the VGRolesInstance class.Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | the specified runtime is null. |