Delen via


ExtensionErrorSeverity Enumeration

An enumeration that describes the severity of an ExtensionError.

Namespace:  Microsoft.Data.Entity.Design.Extensibility
Assembly:  Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)

Syntax

'Declaration
Public Enumeration ExtensionErrorSeverity
'Usage
Dim instance As ExtensionErrorSeverity
public enum ExtensionErrorSeverity
public enum class ExtensionErrorSeverity
public enum ExtensionErrorSeverity

Members

Member name Description
Warning Indicates that the severity of the ExtensionError is Warning. An ExtensionError with this severity will appear in the Visual Studio Error List as a warning.
Error Indicates that the severity of the ExtensionError is Error. An ExtensionError with this severity will appear in the Visual Studio Error List as an error.
Message Indicates that the severity of the ExtensionError is Message. An ExtensionError with this severity will appear in the Visual Studio Error List as a message.

Remarks

In a Visual Studio extension, the ExtensionErrorSeverity enumeration is used when you want to extend the file loading and saving functionality of the Entity Data Model Designer (Entity Designer). Specifically, the ExtensionErrorSeverity enumeration is used to specify the severity of an ExtensionError object, which defines errors in the Errors properties of the ModelTransformExtensionContext and ModelConversionExtensionContext classes.

For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.

See Also

Reference

Microsoft.Data.Entity.Design.Extensibility Namespace

Other Resources

Visual Studio Extensibility Developer Center

Developing Visual Studio Extensions