Metodo AddError
Adds an error to the exception's collection of staging batch errors.
Spazio dei nomi Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Sintassi
'Dichiarazione
Public Sub AddError ( _
error As StagingBatchError _
)
'Utilizzo
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
)
Parametri
- error
Tipo: Microsoft.MasterDataServices.Services.DataContracts. . :: . .StagingBatchError
The StagingBatchError instance to add.
Osservazioni
AddError throws a ArgumentNullException if the error parameter is null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). .
Vedere anche