共用方式為


AddErrors 方法 (IEnumerable(StagingBatchError))

Adds a collection of errors that iterates through the collection of StagingBatchError objects to treat as warnings.

命名空間:  Microsoft.MasterDataServices.Deployment
組件:  Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)

語法

'宣告
Public Sub AddErrors ( _
    errors As IEnumerable(Of StagingBatchError) _
)
'用途
Dim instance As Warnings
Dim errors As IEnumerable(Of StagingBatchError)

instance.AddErrors(errors)
public void AddErrors(
    IEnumerable<StagingBatchError> errors
)
public:
void AddErrors(
    IEnumerable<StagingBatchError^>^ errors
)
member AddErrors : 
        errors:IEnumerable<StagingBatchError> -> unit 
public function AddErrors(
    errors : IEnumerable<StagingBatchError>
)

參數