Partager via


ErrorManager.Add, méthode (IList<DataSchemaError>, Object)

Ajoute une collection d'objets DataSchemaError à la fenêtre Liste d'erreurs de Visual Studio dans la catégorie spécifiée.

Espace de noms :  Microsoft.Data.Schema
Assembly :  Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    errorsToAdd As IList(Of DataSchemaError), _
    category As Object _
)
public void Add(
    IList<DataSchemaError> errorsToAdd,
    Object category
)
public:
void Add(
    IList<DataSchemaError^>^ errorsToAdd, 
    Object^ category
)
member Add : 
        errorsToAdd:IList<DataSchemaError> * 
        category:Object -> unit 
public function Add(
    errorsToAdd : IList<DataSchemaError>, 
    category : Object
)

Paramètres

  • category
    Type : System.Object
    Object qui représente le type de document ou d'objet permettant de catégoriser l'erreur.Les catégories internes sont représentées sous forme de chaînes Guid.

Sécurité .NET Framework

Voir aussi

Référence

ErrorManager Classe

Add, surcharge

Microsoft.Data.Schema, espace de noms

DataSchemaError