ExportErrorEventArgs Class

 

Represents the arguments for the ExportErrorEventArgs class.

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

System::Object
  System::EventArgs
    Microsoft.VisualStudio.Modeling.Shell::ExportErrorEventArgs

public ref class ExportErrorEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodExportErrorEventArgs(Int32, String^)

Initializes a new instance of the ExportErrorEventArgs class.

System_CAPS_pubmethodExportErrorEventArgs(Int32, String^, Exception^)

Initializes a new instance of the ExportErrorEventArgs class.

NameDescription
System_CAPS_pubpropertyContinue

Gets and sets continueExporting, which determines whether the current operation should continue to export diagrams if an error occurs.

System_CAPS_pubpropertyErrorMessage

Gets the error message for the error.

System_CAPS_pubpropertyException

Gets the error that occurred when the current diagram was being exported.

System_CAPS_pubpropertyExportedDiagramsCount

Gets the number of diagrams that were exported before the error occurred.

System_CAPS_pubpropertyProjectFile

Gets the file name of the diagram that was being exported when the error occurred.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

You use this class with the DiagramExporter class, which exports diagrams to disk as images. ExportErrorEvent calls this class. You can provide an event callback to DiagramExporter so that when an error occurs, the event is raised with this ExportErrorEventArgs object.

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

Return to top
Show: