Compartir a través de


SmsErrorDialog Constructor (Exception, String, String)

Initializes a new instance of SmsErrorDialog with an exception, an error message, and a caption.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim ex As Exception
Dim message As String
Dim caption As String

Dim instance As New SmsErrorDialog(ex, message, caption)

Syntax

'Declaration
Public Sub New ( _
    ex As Exception, _
    message As String, _
    caption As String _
)
public SmsErrorDialog (
    Exception ex,
    string message,
    string caption
)
public:
SmsErrorDialog (
    Exception^ ex, 
    String^ message, 
    String^ caption
)
public SmsErrorDialog (
    Exception ex, 
    String message, 
    String caption
)
public function SmsErrorDialog (
    ex : Exception, 
    message : String, 
    caption : String
)

Parameters

  • ex
    [in] System.Exception object.
  • message
    [in] Error message, represented by the Message property.
  • caption
    [in] Dialog box caption, represented by the Caption property.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsErrorDialog Class
SmsErrorDialog Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
Caption
Message