Metodo AddError
Adds an error to the exception's collection of operation response errors.
Spazio dei nomi Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Sintassi
'Dichiarazione
Public Sub AddError ( _
error As Error _
)
'Utilizzo
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
)
Parametri
- error
Tipo: Microsoft.MasterDataServices.Services.DataContracts. . :: . .Error
The Error 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