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


Класс SfcInvalidKeyChainException

The exception that is thrown when a key chain is set on an object, but the parent of the object is different than the key chain parent. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

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

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

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

Синтаксис

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

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

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

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