AddErrors 方法

Adds a collection of errors to the exception's collection of operation response errors.

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

语法

声明
Public Sub AddErrors ( _
    errors As Collection(Of Error) _
)
用法
Dim instance As DeploymentOperationException
Dim errors As Collection(Of Error)

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

参数

注释

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