ErrorManager.Add Method (DataSchemaError, Object)

Adds the provided DataSchemaError object to the Error List window of Visual Studio by using the specified category.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub Add ( _
    errorToAdd As DataSchemaError, _
    category As Object _
)
public void Add(
    DataSchemaError errorToAdd,
    Object category
)
public:
void Add(
    DataSchemaError^ errorToAdd, 
    Object^ category
)
member Add : 
        errorToAdd:DataSchemaError * 
        category:Object -> unit 
public function Add(
    errorToAdd : DataSchemaError, 
    category : Object
)

Parameters

  • category
    Type: System.Object
    An Object that represents the document type or object type to categorize the error. The internal categories are represented as Guid strings.

.NET Framework Security

See Also

Reference

ErrorManager Class

Add Overload

Microsoft.Data.Schema Namespace

DataSchemaError