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

Параметры

Замечания

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