Compartilhar via


Método Warnings.AddError (StagingBatchError)

Observação: essa API está obsoleta.

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

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

Sintaxe

'Declaração
<ObsoleteAttribute("StagingBatchError's are no longer added to the Warnings class")> _
Public Sub AddError ( _
    error As StagingBatchError _
)
'Uso
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
)

Parâmetros

Consulte também

Referência

Warnings Classe

Sobrecarregado AddError

Namespace Microsoft.MasterDataServices.Deployment