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


Класс ScriptWriterException

Represents an exception which occurred when trying to write a script.

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

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.ScriptWriterException

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод ScriptWriterException() Initializes a new instance of the ScriptWriterException class.
Открытый метод ScriptWriterException(String) Initializes a new instance of the ScriptWriterException class, specifying the exception message.
Открытый метод ScriptWriterException(String, Exception) Initializes a new instance of the ScriptWriterException class, specifying the exception message, and the exception which caused the exception.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Производный от SmoException.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство SmoExceptionType Gets the SmoExceptionType associated with the ScriptWriterException. (Переопределяет SmoException.SmoExceptionType.)
Открытое свойство 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. (Производный от SmoException.)
Открытый метод ToString (Производный от Exception.)

В начало

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

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

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo