共用方式為


AddError 方法 (StagingBatchError)

Adds an error to the collection of StagingBatchError objects to treat as warnings.

命名空間:  Microsoft.MasterDataServices.Deployment
組件:  Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)

語法

'宣告
Public Sub AddError ( _
    error As StagingBatchError _
)
'用途
Dim instance As Warnings
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
)