Freigeben über


DeploymentOperationException.AddError-Methode

Adds an error 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 AddError ( _
    error As Error _
)
'Usage
Dim instance As DeploymentOperationException 
Dim error As Error

instance.AddError(error)
public void AddError(
    Error error
)
public:
void AddError(
    Error^ error
)
member AddError : 
        error:Error -> unit
public function AddError(
    error : Error
)

Parameter

Hinweise

AddError throws a ArgumentNullException if the error parameter is nullein NULL-Verweis (Nothing in Visual Basic).

Siehe auch

Verweis

DeploymentOperationException Klasse

Microsoft.MasterDataServices.Deployment-Namespace