Share via


DeploymentStagingException.AddError Método

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

Espacio de nombres:  Microsoft.MasterDataServices.Deployment
Ensamblado:  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Sintaxis

'Declaración
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

Comentarios

AddError throws a ArgumentNullException if the error parameter is nulles una referencia NULL (Nothing en Visual Basic)..

Vea también

Referencia

DeploymentStagingException Clase

Espacio de nombres Microsoft.MasterDataServices.Deployment