Autodesk Vault ProfessionalVault API

ShowWarning(String,String,ButtonConfiguration) Method

Autodesk.DataManagement.Client.Framework.FormsLibrary

Displays an warning dialog box with the specified message and title.

Syntax

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

Parameters

NameDescription
messageThe warning text to display in the dialog box.
titleThe Caption of the dialog box.
btnTypeThe button selection that will be made available in the dialog box.

Return Value

The windows DialogResult which describes the button that was selected.

See Also