Initializes a new instance of the ExportErrorEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
exportedDiagramsCount As Integer, _
projectFile As String, _
exception As Exception _
)
'使用
Dim exportedDiagramsCount As Integer
Dim projectFile As String
Dim exception As Exception
Dim instance As New ExportErrorEventArgs(exportedDiagramsCount, _
projectFile, exception)
public ExportErrorEventArgs(
int exportedDiagramsCount,
string projectFile,
Exception exception
)
public:
ExportErrorEventArgs(
int exportedDiagramsCount,
String^ projectFile,
Exception^ exception
)
public function ExportErrorEventArgs(
exportedDiagramsCount : int,
projectFile : String,
exception : Exception
)
Parameters
exportedDiagramsCount
Type: System.Int32The number of diagrams that have been exported in the current operation.
projectFile
Type: System.StringThe file name of the diagram that is being exported.
exception
Type: System.ExceptionThe exception that relates to the current error, if any.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.