Export (0) Print
Expand All

ShowError Method

Displays the specified exception and information about the exception.

Namespace:  Microsoft.Web.Management.Client.Win32
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

protected void ShowError(
	Exception exception,
	string message,
	bool isWarning
)

Parameters

exception
Type: System..::..Exception
The System..::..Exception that provides the message.
message
Type: System..::..String
An additional message to display.
isWarning
Type: System..::..Boolean
true to display a warning symbol; false to display an error symbol.

If the isWarning parameter is true, the exception displays a warning symbol. Otherwise, the exception displays an error symbol. The exception displays the value of the Exception..::..Message property followed by the message parameter string.

Community Additions

ADD
Show:
© 2014 Microsoft