Autodesk Vault ProfessionalVault API

ShowError(String,String) Method

Autodesk.DataManagement.Client.Framework.FormsLibrary

Displays an error dialog box with the specified message.

Syntax

public static System.Windows.Forms.DialogResult ShowError(
   System.string message,
   System.string title
)
Public Overloads Shared Function ShowError( _
   ByVal message As System.String, _
   ByVal title As System.String _
) As System.Windows.Forms.DialogResult

Parameters

NameDescription
messageThe error text to display in the dialog box.
titleThe caption of the dialog box.

Return Value

The windows DialogResult which describes the button that was selected. In this case, the result will always be DialogResult.OK

See Also