Compartilhar via


Método AddErrors

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

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (em Microsoft.MasterDataServices.Deployment.dll)

Sintaxe

'Declaração
Public Sub AddErrors ( _
    errors As Collection(Of Error) _
)
'Uso
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>
)

Parâmetros

Comentários

AddErrors throws a ArgumentNullException if the errors parameter is null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) .