ErrorManager.Add Method (DataSchemaError, Object)
Adds the DataSchemaError to be displayed to the Error List window.
Namespace: Microsoft.Data.Schema.Common
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub Add ( _
errorToAdd As DataSchemaError, _
category As Object _
)
'Usage
Dim instance As ErrorManager
Dim errorToAdd As DataSchemaError
Dim category As Object
instance.Add(errorToAdd, category)
public void Add(
DataSchemaError errorToAdd,
Object category
)
public:
void Add(
DataSchemaError^ errorToAdd,
Object^ category
)
public function Add(
errorToAdd : DataSchemaError,
category : Object
)
member Add :
errorToAdd:DataSchemaError *
category:Object -> unit
Parameters
- errorToAdd
Type: Microsoft.Data.Schema.Common.DataSchemaError
The error to add
- category
Type: System.Object
The category
.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.