Dela via


DataSchemaError Class

Encapsulates all the information needed by the ErrorTaskService to create a corresponding entry in the Visual Studio Error List.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataSchemaError
'Usage
Dim instance As DataSchemaError
[SerializableAttribute]
public class DataSchemaError
[SerializableAttribute]
public ref class DataSchemaError
public class DataSchemaError

Remarks

A component should add this Error Object to the ErrorManager for such purpose. Errors and their children are expected to be thread-safe. Ideally, this means that the objects are just data-transfer-objects initialized during construction.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Common.DataSchemaError
    Microsoft.VisualStudio.Data.Schema.Project.Refactoring.RefactoringError

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataSchemaError Members

Microsoft.Data.Schema.Common Namespace