Click or drag to resize

IMessageService Methods

The IMessageService type exposes the following members.

Methods
 NameDescription
Public methodAskQuestion Asks the user a Yes/No question, using "Yes" as the default button. Returns true if yes was clicked, false if no was clicked.
Public methodChooseSaveError Show a message informing the user about a save error, and allow him to retry/save under alternative name.
Public methodInformSaveError Show a message informing the user about a save error.
Public methodShowCustomDialog Shows a custom dialog.
Public methodShowError Shows an error.
Public methodShowErrorFormatted Shows an error using a message box. formatstring is first passed through the StringParser, then through Format(String, Object), using the formatitems as arguments.
Public methodShowException Shows an exception.
Public methodShowHandledException Shows an exception.
Public methodShowInputBox Shows an input box.
Public methodShowMessage 
Public methodShowMessageFormatted 
Public methodShowWarning Shows a warning message.
Public methodShowWarningFormatted Shows a warning message. formatstring is first passed through the StringParser, then through Format(String, Object), using the formatitems as arguments.
Public methodWriteLine(MessageLevel, String, String) 
Public methodWriteLine(MessageLevel, String, String, Object) 
Public methodWriteLine(MessageLevel, String, IFormatProvider, String, Object) 
Top
See Also