Método DeploymentOperationException.AddError
Adds an error to the exception's collection of operation response errors.
Namespace: Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (em Microsoft.MasterDataServices.Deployment.dll)
Sintaxe
'Declaração
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
- error
Tipo: Microsoft.MasterDataServices.Services.DataContracts.Error
The Error instance to add.
Comentários
AddError throws a ArgumentNullException if the error parameter is nulluma referência nula (Nothing no Visual Basic).