Метод DeploymentOperationException.AddError
Adds an error to the exception's collection of operation response errors.
Пространство имен: Microsoft.MasterDataServices.Deployment
Сборка: Microsoft.MasterDataServices.Deployment (в Microsoft.MasterDataServices.Deployment.dll)
Синтаксис
'Декларация
Public Sub AddError ( _
error As Error _
)
'Применение
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
)
Параметры
- error
Тип: Microsoft.MasterDataServices.Services.DataContracts.Error
The Error instance to add.
Замечания
AddError throws a ArgumentNullException if the error parameter is nullпустая ссылка (Nothing в Visual Basic).