Warnings.AddError 方法 (StagingBatchError)

注意:此 API 现在已过时。

Adds an error to 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 AddError ( _
    error As StagingBatchError _
)
用法
Dim instance As Warnings 
Dim error As StagingBatchError

instance.AddError(error)
[ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")]
public void AddError(
    StagingBatchError error
)
[ObsoleteAttribute(L"StagingBatchError's are no longer added to the Warnings class")]
public:
void AddError(
    StagingBatchError^ error
)
[<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")>]
member AddError : 
        error:StagingBatchError -> unit
public function AddError(
    error : StagingBatchError
)

参数

请参阅

参考

Warnings 类

AddError 重载

Microsoft.MasterDataServices.Deployment 命名空间