DeploymentOperationException.AddError Method (Error)
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
public void AddError(
Error error
)
public:
void AddError(
Error^ error
)
member AddError :
error:Error -> unit
Public Sub AddError (
error As Error
)
Parameters
error
Type: Microsoft.MasterDataServices.Services.DataContracts.ErrorThe Error instance to add.
Remarks
AddError throws a ArgumentNullException if the error parameter is null.
See Also
DeploymentOperationException Class
Microsoft.MasterDataServices.Deployment Namespace
Return to top