UserMsg(String, String, MsgBoxStyle) Method

show message to User (default Error message) and log as warning if Critical Or Exclamation (logged errors would pop up the trace information window)
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

public static void UserMsg(
	string LogMessage,
	string errTitle,
	MsgBoxStyle msgboxIcon
	)

Parameters

LogMessage
Type: String
the message to be shown/logged
errTitle
Type: String
optionally pass a title for the msgbox instead of default DBAddin Error
msgboxIcon
Type: MsgBoxStyle
optionally pass a different Msgbox icon (style) instead of default MsgBoxStyle.Critical