Método AddError
Adds an error to the exception's collection of staging batch errors.
Namespace: Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (em Microsoft.MasterDataServices.Deployment.dll)
Sintaxe
'Declaração
Public Sub AddError ( _
error As StagingBatchError _
)
'Uso
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
)
Parâmetros
- error
Tipo: Microsoft.MasterDataServices.Services.DataContracts. . :: . .StagingBatchError
The StagingBatchError instance to add.
Comentários
AddError throws a ArgumentNullException if the error parameter is null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) .
Consulte também