ArcFM Engine Developer Guide
MsgWarn(String,String,Exception) Method


The user message to display.
The message to be placed in the warning log.
The exception message generating the warning.
Display a warning message to the user.
Syntax
'Declaration
 
Public Overloads Shared Sub MsgWarn( _
   ByVal strMsg As String, _
   ByVal strWarn As String, _
   ByVal exc As Exception _
) 
'Usage
 
Dim strMsg As String
Dim strWarn As String
Dim exc As Exception
 
Messaging.MsgWarn(strMsg, strWarn, exc)
public static void MsgWarn( 
   string strMsg,
   string strWarn,
   Exception exc
)

Parameters

strMsg
The user message to display.
strWarn
The message to be placed in the warning log.
exc
The exception message generating the warning.
Remarks
This static method provides a general utility function to display a warning message to the user and wait for the user to press the Ok button before resuming program execution. The message is also logged as a warning. Use this function to provide a standard look-and-feel for the program.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Messaging Class
Messaging Members
Overload List

 

 


Send Comment