Warnings.AddErrors Method (Collection<StagingBatchError>)
Note: This API is now obsolete.
Adds a collection of errors to the collection of staging batch errors to treat as warnings.
Namespace: Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Syntax
'Declaration
<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")> _
Public Sub AddErrors ( _
errors As Collection(Of StagingBatchError) _
)
'Usage
Dim instance As Warnings
Dim errors As Collection(Of StagingBatchError)
instance.AddErrors(errors)
[ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")]
public void AddErrors(
Collection<StagingBatchError> errors
)
[ObsoleteAttribute(L"StagingBatchError's are no longer added to the Warnings class")]
public:
void AddErrors(
Collection<StagingBatchError^>^ errors
)
[<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")>]
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.