Поделиться через


Класс TransferException

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class TransferException _
    Inherits SqlServerManagementException
'Применение
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

Тип TransferException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод TransferException() () () () Initializes a new instance of the TransferException class.
Открытый метод TransferException(String) Initializes a new instance of the TransferException class with the specified message text.
Защищенный метод TransferException(SerializationInfo, StreamingContext) Initializes a new instance of the TransferException class with the specified serialization information and streaming context.
Открытый метод TransferException(String, Exception) Initializes a new instance of the TransferException class with the specified message text and inner exception.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink (Производный от Exception.)
Защищенное свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData (Производный от Exception.)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

Замечания

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.