ExtensionErrorSeverity 列舉型別
An enumeration that describes the severity of an ExtensionError.
命名空間: Microsoft.Data.Entity.Design.Extensibility
組件: Microsoft.Data.Entity.Design.Extensibility (於 microsoft.data.entity.design.extensibility.dll)
使用方式
語法
'宣告
Public Enumeration ExtensionErrorSeverity
public enum ExtensionErrorSeverity
public enum class ExtensionErrorSeverity
public enum ExtensionErrorSeverity
public enum ExtensionErrorSeverity
成員
成員名稱 | 說明 |
---|---|
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. |
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. |
備註
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.
平台
開發平台
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000
目標平台
另請參閱
參考
Microsoft.Data.Entity.Design.Extensibility 命名空間
其他資源
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions