Partager via


Méthode AddErrors

Adds a collection of errors 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 AddErrors ( _
    errors As Collection(Of Error) _
)
'Utilisation
Dim instance As DeploymentOperationException
Dim errors As Collection(Of Error)

instance.AddErrors(errors)
public void AddErrors(
    Collection<Error> errors
)
public:
void AddErrors(
    Collection<Error^>^ errors
)
member AddErrors : 
        errors:Collection<Error> -> unit 
public function AddErrors(
    errors : Collection<Error>
)

Paramètres

Notes

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