AddErrors 方法

Adds a collection of errors to the exception's collection of staging batch errors.

命名空间:  Microsoft.MasterDataServices.Deployment
程序集:  Microsoft.MasterDataServices.Deployment(在 Microsoft.MasterDataServices.Deployment.dll 中)

语法

声明
Public Sub AddErrors ( _
    errors As Collection(Of StagingBatchError) _
)
用法
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>
)

参数

注释

AddErrors throws a ArgumentNullException if the errors parameter is null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) .