Aracılığıyla paylaş


TransferException Class

The TransferException class is an exception that is raised when a SQL Server transfer error is encountered on the connection to the server.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Common.TransferException

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Bildirim
<SerializableAttribute> _
Public Class TransferException _
    Inherits SqlServerManagementException
'Kullanım
Dim instance As TransferException
[SerializableAttribute]
public class TransferException : SqlServerManagementException
[SerializableAttribute]
public ref class TransferException : public SqlServerManagementException
[<SerializableAttribute>]
type TransferException =  
    class
        inherit SqlServerManagementException
    end
public class TransferException extends SqlServerManagementException

The TransferException type exposes the following members.

Constructors

  Name Description
Public method TransferException() Initializes a new instance of the TransferException class.
Public method TransferException(String) Initializes a new instance of the TransferException class with the specified message text.
Protected method TransferException(SerializationInfo, StreamingContext) Initializes a new instance of the TransferException class with the specified serialization information and streaming context.
Public method TransferException(String, Exception) Initializes a new instance of the TransferException class with the specified message text and inner exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Handling SMO Exceptions

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.

See Also

Reference

Microsoft.SqlServer.Management.Common Namespace