Warnings.AddError Method (StagingBatchError)

Note: This API is now obsolete.

Adds an error to the collection of staging batch errors to treat as warnings.

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

'Declaration
<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")> _
Public Sub AddError ( _
    error As StagingBatchError _
)
'Usage
Dim instance As Warnings 
Dim error As StagingBatchError

instance.AddError(error)
[ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")]
public void AddError(
    StagingBatchError error
)
[ObsoleteAttribute(L"StagingBatchError's are no longer added to the Warnings class")]
public:
void AddError(
    StagingBatchError^ error
)
[<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")>]
member AddError : 
        error:StagingBatchError -> unit
public function AddError(
    error : StagingBatchError
)

Parameters

See Also

Reference

Warnings Class

AddError Overload

Microsoft.MasterDataServices.Deployment Namespace