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


Класс SfcSecurityException

The exception that is thrown when a security error is detected. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

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

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

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

Синтаксис

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

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

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

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