Partager via


Méthode DeploymentStagingException.AddError

Adds an error to the exception's collection of staging batch errors.

Espace de noms :  Microsoft.MasterDataServices.Deployment
Assembly :  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Syntaxe

'Déclaration
Public Sub AddError ( _
    error As StagingBatchError _
)
'Utilisation
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
)

Paramètres

Notes

AddError throws a ArgumentNullException if the error parameter is nullune référence Null (Nothing dans Visual Basic).

Voir aussi

Référence

DeploymentStagingException Classe

Espace de noms Microsoft.MasterDataServices.Deployment