ErrorManager.Add Method (IList<DataSchemaError>, Object)
Adds a collection of DataSchemaError objects to the Error List window of Visual Studio in the specified category.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
)
Parameters
- errorsToAdd
Type: System.Collections.Generic.IList<DataSchemaError>
An IList<T> object that contains one or more DataSchemaError objects.
- 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.