IMessageService Interface |
Interface for the MessageService.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic interface IMessageService
The IMessageService type exposes the following members.
Properties
Methods | Name | Description |
---|
 | AskQuestion |
Asks the user a Yes/No question, using "Yes" as the default button.
Returns true if yes was clicked, false if no was clicked.
|
 | ChooseSaveError |
Show a message informing the user about a save error,
and allow him to retry/save under alternative name.
|
 | InformSaveError |
Show a message informing the user about a save error.
|
 | ShowCustomDialog |
Shows a custom dialog.
|
 | ShowError |
Shows an error.
|
 | ShowErrorFormatted |
Shows an error using a message box.
formatstring is first passed through the
StringParser,
then through Format(String, Object), using the formatitems as arguments.
|
 | ShowException |
Shows an exception.
|
 | ShowHandledException |
Shows an exception.
|
 | ShowInputBox |
Shows an input box.
|
 | ShowMessage | |
 | ShowMessageFormatted | |
 | ShowWarning |
Shows a warning message.
|
 | ShowWarningFormatted |
Shows a warning message.
formatstring is first passed through the
StringParser,
then through Format(String, Object), using the formatitems as arguments.
|
 | WriteLine(MessageLevel, String, String) | |
 | WriteLine(MessageLevel, String, String, Object[]) | |
 | WriteLine(MessageLevel, String, IFormatProvider, String, Object[]) | |
Top
See Also