Share

IHostServices.DisplayMessage Method

Description

This method is called for messages that would normally appear in a dialog box. It is up to the host application to determine if a dialog box is appropriate.

If showMessageBox is set to false when the CustomizationSection is created, this function will not be called. Instead, all messages will go to WriteMessage().

C#

void DisplayMessage(
    string message, 
    string title
);

Visual Basic

Function DisplayMessage(
    message As string, 
    title As string
) As void

Parameters

Parameters Description
string message Input the message to display.
string title Input the title for the dialog box.

Links

IHostServices Interface, Autodesk.AutoCAD.Customization Namespace

Was this information helpful?