Freigeben über


SmsException Constructor (String, Exception)

Initializes a new instance of SmsException for the specified message and inner exception.

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

Usage

'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New SmsException(message, innerException)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public SmsException (
    string message,
    Exception innerException
)
public:
SmsException (
    String^ message, 
    Exception^ innerException
)
public SmsException (
    String message, 
    Exception innerException
)
public function SmsException (
    message : String, 
    innerException : Exception
)

Parameters

  • message
    [in] Message for which to create an exception.
  • innerException
    [in] System.Exception object that represents an inner exception for which to create an exception.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsException Class
SmsException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace