Partager via


Méthode AddError

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

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

Syntaxe

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

Paramètres

Notes

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