DeploymentStagingException.AddErrors Method
Adds a collection of errors to the exception's collection of staging batch errors.
Namespace: Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Syntax
'Declaration
Public Sub AddErrors ( _
errors As Collection(Of StagingBatchError) _
)
'Usage
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>
)
Parameters
- errors
Type: System.Collections.ObjectModel.Collection<StagingBatchError>
A collection of StagingBatchError instances to add.
Remarks
AddErrors throws a ArgumentNullException if the errors parameter is nulla null reference (Nothing in Visual Basic).