DeploymentStagingException.AddError Method
Adds an error to the exception's collection of staging batch errors.
Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Syntax
'Declaration
Public Sub AddError ( _
    error As StagingBatchError _
)
'Usage
Dim instance As DeploymentStagingException
Dim error As StagingBatchError
instance.AddError(error)
public void AddError(
    StagingBatchError error
)
public:
void AddError(
    StagingBatchError^ error
)
member AddError : 
        error:StagingBatchError -> unit 
public function AddError(
    error : StagingBatchError
)
Parameters
- error
 Type: Microsoft.MasterDataServices.Services.DataContracts.StagingBatchError
 The StagingBatchError instance to add.
Remarks
AddError throws a ArgumentNullException if the error parameter is nulla null reference (Nothing in Visual Basic).