Warnings.AddError Method (StagingBatchError)

Adds an error to the collection of StagingBatchError objects to treat as warnings.

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 Warnings
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