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


Класс SfcEmptyXmlException

The exception that is thrown during deserialization if the XML is either empty or does not contain any XML that can be deserialized. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

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

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

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

Синтаксис

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

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

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

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