Partager via


Méthode Warnings.AddError (StagingBatchError)

Remarque : cette API est désormais obsolète.

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

Espace de noms :  Microsoft.MasterDataServices.Deployment
Assembly :  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")> _
Public Sub AddError ( _
    error As StagingBatchError _
)
'Utilisation
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
)

Paramètres

Voir aussi

Référence

Warnings Classe

Surcharge AddError

Espace de noms Microsoft.MasterDataServices.Deployment