Warnings.AddError-Methode (StagingBatchError)

Hinweis: Diese API ist veraltet.

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
)

Parameter

Siehe auch

Verweis

Warnings Klasse

AddError-Überladung

Microsoft.MasterDataServices.Deployment-Namespace