Partager via


SmsConnectionException Constructor (String, Exception)

Initializes a new instance of SmsConnectionException 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 SmsConnectionException(message, innerException)

Syntax

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

Parameters

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

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsConnectionException Class
SmsConnectionException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace