DeploymentOperationException.AddErrors Method
Adds a collection of errors to the exception's collection of operation response errors.
Namespace: Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Syntax
'Declaration
Public Sub AddErrors ( _
errors As Collection(Of Error) _
)
'Usage
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>
)
Parameters
- errors
Type: System.Collections.ObjectModel.Collection<Error>
The collection of Error instances to add.
Remarks
AddErrors throws a ArgumentNullException if the errors parameter is nulla null reference (Nothing in Visual Basic).