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

Visual Basic
Dim message As String
Dim innerException As Exception

Dim instance As New SmsException(message, innerException)

Syntax

Visual Basic
Public Sub New ( _
		message As String, _
		innerException As Exception _
)
C#
public SmsException (
		string message,
		Exception innerException
)
C++
public:
SmsException (
		String^ message, 
		Exception^ innerException
)
J#
public SmsException (
		String message, 
		Exception innerException
)
JScript
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