Initializes a new instance of VGRemoveItemAction class.
Namespace:
Novalys.VisualGuard.Security.Deployment.ActionsAssembly: vg_deployment (in vg_deployment.exe) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public VGRemoveItemAction( VGItemType itemType, string repositoryId ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ itemType As VGItemType, _ repositoryId As String _ ) |
Parameters
- itemType
- Type: Novalys.VisualGuard.Security.Deployment..::.VGItemType
A VGItemType value specifying the type of the item to remove.
- repositoryId
- Type: System..::.String
the repository id of the item to remove
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | repositoryId is null (Nothing in VB.Net). |
| System..::.ArgumentException |
itemType is equal to Undefined. - or -repositoryId is an empty string. |