Export (0) Print
Expand All

ExtensionError Class

Encapsulates custom error information for Visual Studio extensions that extend the functionality of the Entity Data Model Designer.

System.Object
  Microsoft.Data.Entity.Design.Extensibility.ExtensionError

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

[SerializableAttribute]
public sealed class ExtensionError

The ExtensionError type exposes the following members.

  NameDescription
Public methodExtensionError(String, Int32, ExtensionErrorSeverity)Instantiates a new instance of ExtensionError.
Public methodExtensionError(String, Int32, ExtensionErrorSeverity, Int32, Int32)Instantiates a new instance of ExtensionError.
Top

  NameDescription
Public propertyColumnThe column of the input or output document in which the error occurred.
Public propertyErrorCodeThe error code associated with the error.
Public propertyLineThe line of the input or output document in which the error occurred.
Public propertyMessageThe message that describes the error.
Public propertySeverityThe severity of the error.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

The ExtensionError class is used when extending the functionality of the Entity Data Model Designer. Custom error information can be stored as a list of ExtensionError objects in the Errors property of a Microsoft.Data.Entity.Design.Extensibility.ModelConversionExtensionContext or Microsoft.Data.Entity.Design.Extensibility.ModelTransformExtensionContext instance.

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