This documentation is archived and is not being maintained.

ExceptionMessageBox Constructor (Exception, ExceptionMessageBoxButtons)

Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons to display in the message box.

Namespace: Microsoft.SqlServer.MessageBox
Assembly: Microsoft.ExceptionMessageBox (in microsoft.exceptionmessagebox.dll)

public ExceptionMessageBox (
	Exception exception,
	ExceptionMessageBoxButtons buttons
)
public ExceptionMessageBox (
	Exception exception, 
	ExceptionMessageBoxButtons buttons
)
public function ExceptionMessageBox (
	exception : Exception, 
	buttons : ExceptionMessageBoxButtons
)

Parameters

exception

Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.

buttons

ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the message box.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Show: