Класс PropertyCannotBeRetrievedException

The PropertyCannotBeRetrievedException class represents the exception raised when a property cannot be retrieved.

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

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Smo. . :: . .SmoException
        Microsoft.SqlServer.Management.Smo..::..PropertyCannotBeRetrievedException

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод PropertyCannotBeRetrievedException() () () () Initializes a new instance of the PropertyCannotBeRetrievedException class.
Открытый метод PropertyCannotBeRetrievedException(String) Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message.
Открытый метод PropertyCannotBeRetrievedException(String, Exception) Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message and specified inner exception.
Открытый метод PropertyCannotBeRetrievedException(String, Object) Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message and specified inner exception.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство FailedObject Gets the object that owns the property that cannot be retrieved.
Открытое свойство HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Производный от SmoException.)
Защищенное свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message Gets the message that describes the current exception. (Переопределяет Exception. . :: . .Message.)
Открытое свойство PropertyName Gets the name of the property that cannot be retrieved.
Открытое свойство SmoExceptionType Gets the type of SMO exception. (Переопределяет SmoException. . :: . .SmoExceptionType.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Populates a SerializationInfo object with the data needed to serialize the target object. (Переопределяет Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод SetHelpContext Sets the Help context value for the referenced exception. (Производный от SmoException.)
Открытый метод ToString (Производный от Exception.)

В начало

Замечания

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

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

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