Initializes the VGReplaceRoleAction object with specified values.
Namespace:
Novalys.VisualGuard.Security.Deployment.ActionsAssembly: vg_deployment (in vg_deployment.exe) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public void Init( KeyValueConfigurationCollection values ) |
| Visual Basic (Declaration) |
|---|
Public Sub Init ( _ values As KeyValueConfigurationCollection _ ) |
Parameters
- values
- Type: System.Configuration..::.KeyValueConfigurationCollection
a collection of values used by the action
Implements
VGIDeploymentAction..::.Init(KeyValueConfigurationCollection)
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | values is null (Nothing in VB.Net). |
| System..::.ArgumentException |
the collection does not contain the value "originalRoleId" or "newRoleId". - or -the value "newRoleId" or "originalRoleId" is not a valid Guid. |