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


Класс SfcObjectInitializationException

The exception that is thrown when an object fails to initialize. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

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

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Sdk.Sfc.SfcException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectInitializationException

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

Синтаксис

'Декларация
<SerializableAttribute> _
Public NotInheritable Class SfcObjectInitializationException _
    Inherits SfcException
'Применение
Dim instance As SfcObjectInitializationException
[SerializableAttribute]
public sealed class SfcObjectInitializationException : SfcException
[SerializableAttribute]
public ref class SfcObjectInitializationException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcObjectInitializationException =  
    class 
        inherit SfcException 
    end
public final class SfcObjectInitializationException extends SfcException

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

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

  Имя Описание
Открытый метод SfcObjectInitializationException() Initializes a new instance of the SfcObjectInitializationException class. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Открытый метод SfcObjectInitializationException(String) Initializes a new instance of the SfcObjectInitializationException class with the specified key name and a reference to the inner exception that is the cause of this exception. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Открытый метод SfcObjectInitializationException(String, Exception) Initializes a new instance of the SfcObjectInitializationException class with the specified key name and a reference to the inner exception that is the cause of this exception. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink Gets a link to the help file associated with this exception. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcException.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message Gets the error message. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Переопределяет Exception.Message.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Sets the SerializationInfo object with information about the exception. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Переопределяет Exception.GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Производный от Exception.)
Защищенный метод SetHelpContext Sets the help context value for the referenced exception. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcException.)
Открытый метод ToString (Производный от Exception.)

В начало

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

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

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc