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 null 參考 (在 Visual Basic 中為 Nothing) .