Initializes a new instance of SmsErrorDialog with an exception and an error message. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim ex As Exception
Dim message As String

Dim instance As New SmsErrorDialog(ex, message)

Syntax

Visual Basic
Public Sub New ( _
		ex As Exception, _
		message As String _
)
C#
public SmsErrorDialog (
		Exception ex,
		string message
)
C++
public:
SmsErrorDialog (
		Exception^ ex, 
		String^ message
)
J#
public SmsErrorDialog (
		Exception ex, 
		String message
)
JScript
public function SmsErrorDialog (
		ex : Exception, 
		message : String
)

Parameters

ex

[in] System.Exception object.

message

[in] Error message, represented by the Message property.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also