Compartir a través de


DeploymentOperationException.AddError Método

Adds an error to the exception's collection of operation response errors.

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

Sintaxis

'Declaración
Public Sub AddError ( _
    error As Error _
)
'Uso
Dim instance As DeploymentOperationException 
Dim error As Error

instance.AddError(error)
public void AddError(
    Error error
)
public:
void AddError(
    Error^ error
)
member AddError : 
        error:Error -> unit
public function AddError(
    error : Error
)

Parámetros

Comentarios

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

Vea también

Referencia

DeploymentOperationException Clase

Espacio de nombres Microsoft.MasterDataServices.Deployment