注意:此 API 现在已过时。
Adds a collection of errors that iterates through the collection of staging batch errors to treat as warnings.
命名空间: Microsoft.MasterDataServices.Deployment
程序集: Microsoft.MasterDataServices.Deployment(在 Microsoft.MasterDataServices.Deployment.dll 中)
语法
声明
<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")> _
Public Sub AddErrors ( _
errors As IEnumerable(Of StagingBatchError) _
)
用法
Dim instance As Warnings
Dim errors As IEnumerable(Of StagingBatchError)
instance.AddErrors(errors)
[ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")]
public void AddErrors(
IEnumerable<StagingBatchError> errors
)
[ObsoleteAttribute(L"StagingBatchError's are no longer added to the Warnings class")]
public:
void AddErrors(
IEnumerable<StagingBatchError^>^ errors
)
[<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")>]
member AddErrors :
errors:IEnumerable<StagingBatchError> -> unit
public function AddErrors(
errors : IEnumerable<StagingBatchError>
)
参数
- errors
类型:System.Collections.Generic.IEnumerable<StagingBatchError>
A collection of StagingBatchError instances to add.