Compartir a través de


SmsErrorDialog Constructor (Exception, String, Icon)

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

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

Usage

'Usage
Dim ex As Exception
Dim message As String
Dim icon As Icon

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

Syntax

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

Parameters

  • ex
    [in] System.Exception object.
  • message
    [in] Error message, represented by the Message property.
  • icon
    [in] System.Drawing.Icon object, represented by the Icon 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
Icon
Message