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


Класс SfcInvalidXmlParentTypeException

The exception that is thrown during deserialization if a parent type is specified and it is not the correct type to parent the top-level objects contained in the XML. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

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

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

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод SfcInvalidXmlParentTypeException() Initializes a new instance of the SfcInvalidXmlParentTypeException class. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Открытый метод SfcInvalidXmlParentTypeException(String) Initializes a new instance of the SfcInvalidXmlParentTypeException class with the specified error message. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Открытый метод SfcInvalidXmlParentTypeException(String, Exception) Initializes a new instance of the SfcInvalidXmlParentTypeException class with the specified error message 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 (Производный от Exception.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Важный элемент безопасности. (Производный от Exception.)
Открытый метод 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