UnknownTypeEnumeratorException Constructor (String, Exception)
Initializes a new instance of the UnknownTypeEnumeratorException class for the specified type and with the specified inner exception.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)
Syntax
'Declaration
Public Sub New ( _
typeName As String, _
innerException As Exception _
)
public UnknownTypeEnumeratorException (
string typeName,
Exception innerException
)
public:
UnknownTypeEnumeratorException (
String^ typeName,
Exception^ innerException
)
public UnknownTypeEnumeratorException (
String typeName,
Exception innerException
)
public function UnknownTypeEnumeratorException (
typeName : String,
innerException : Exception
)
Parameters
- typeName
A String value that specifies the type that is unknown.
- innerException
An Exception system object value that specifies the inner exception for the Unknown Type Enumerator exception.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Catch an Exception in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
UnknownTypeEnumeratorException Class
UnknownTypeEnumeratorException Members
Microsoft.SqlServer.Management.Smo Namespace