Freigeben über


AddErrors-Methode

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>
)

Parameter

Hinweise

AddErrors throws a ArgumentNullException if the errors parameter is null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) .