Delen via


UnsupportedVersionException Constructor (String, Exception)

Initializes a new instance of the UnsupportedVersionException class with the specified message and inner exception.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New UnsupportedVersionException(message, _
    innerException)
public UnsupportedVersionException(
    string message,
    Exception innerException
)
public:
UnsupportedVersionException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UnsupportedVersionException
public function UnsupportedVersionException(
    message : String, 
    innerException : Exception
)

Parameters

  • innerException
    Type: System.Exception
    An Exception system object value that specifies the inner exception for the Unsupported Version exception.