Creates a VGRolesInstance using a specific security runtime
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
[ObsoleteAttribute("This class is obsolete now, plz use VGSecurityManager.Runtime.Roles", true)] public static VGRolesInstance CreateInstance( VGSecurityRuntime runtime ) |
Visual Basic |
---|
<ObsoleteAttribute("This class is obsolete now, plz use VGSecurityManager.Runtime.Roles", true)> 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
Type: VGRolesInstanceA new instance of the VGRolesInstance class.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | the specified runtime is null. |