DtsNotAConnectionException Class
The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Dts.Runtime.DtsException
Microsoft.SqlServer.Dts.Runtime.DtsNotAConnectionException
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class DtsNotAConnectionException _
Inherits DtsException
'Usage
Dim instance As DtsNotAConnectionException
[SerializableAttribute]
public sealed class DtsNotAConnectionException : DtsException
[SerializableAttribute]
public ref class DtsNotAConnectionException sealed : public DtsException
[<SealedAttribute>]
[<SerializableAttribute>]
type DtsNotAConnectionException =
class
inherit DtsException
end
public final class DtsNotAConnectionException extends DtsException
The DtsNotAConnectionException type exposes the following members.
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
ErrorCode | Gets the error code that creates the appropriate exception class. This field is read-only. (Inherited from DtsException.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
ToString | (Inherited from Exception.) |
Top
Remarks
This error is not useable in a try...catch block.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.