Поделиться через


Метод DeploymentStagingException.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
)

Параметры

Замечания

AddError throws a ArgumentNullException if the error parameter is nullпустая ссылка (Nothing в Visual Basic).

См. также

Справочник

DeploymentStagingException Класс

Пространство имен Microsoft.MasterDataServices.Deployment