Méthode AddErrors
Adds a collection of errors to the exception's collection of staging batch 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 StagingBatchError) _
)
'Utilisation
Dim instance As DeploymentStagingException
Dim errors As Collection(Of StagingBatchError)
instance.AddErrors(errors)
public void AddErrors(
Collection<StagingBatchError> errors
)
public:
void AddErrors(
Collection<StagingBatchError^>^ errors
)
member AddErrors :
errors:Collection<StagingBatchError> -> unit
public function AddErrors(
errors : Collection<StagingBatchError>
)
Paramètres
- errors
Type : System.Collections.ObjectModel. . :: . .Collection< (Of < ( <'StagingBatchError> ) > ) >
A collection of StagingBatchError instance to add.
Notes
AddErrors throws a ArgumentNullException if the errors parameter is null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .
Voir aussi