Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- errorToAdd
Type: Microsoft.Data.Schema.DataSchemaError
The DataSchemaError object to add.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.