DeploymentStagingException.AddError-Methode
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
)
Parameter
- error
Typ: Microsoft.MasterDataServices.Services.DataContracts.StagingBatchError
The StagingBatchError instance to add.
Hinweise
AddError throws a ArgumentNullException if the error parameter is nullein NULL-Verweis (Nothing in Visual Basic).