Метод AddError
Adds an error to the exception's collection of staging batch errors.
Пространство имен: Microsoft.MasterDataServices.Deployment
Сборка: Microsoft.MasterDataServices.Deployment (в Microsoft.MasterDataServices.Deployment.dll)
Синтаксис
'Декларация
Public Sub AddError ( _
error As StagingBatchError _
)
'Применение
Dim instance As DeploymentStagingException
Dim error As StagingBatchError
instance.AddError(error)
public void AddError(
StagingBatchError error
)
public:
void AddError(
StagingBatchError^ error
)
member AddError :
error:StagingBatchError -> unit
public function AddError(
error : StagingBatchError
)
Параметры
- error
Тип: Microsoft.MasterDataServices.Services.DataContracts. . :: . .StagingBatchError
The StagingBatchError instance to add.
Замечания
AddError throws a ArgumentNullException if the error parameter is null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) .