Конструктор BadExpressionTreeException (String)

Initializes a new instance of the BadExpressionTreeException class that has the specified reason.

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

Синтаксис

'Декларация
Public Sub New ( _
    reason As String _
)
'Применение
Dim reason As String 

Dim instance As New BadExpressionTreeException(reason)
public BadExpressionTreeException(
    string reason
)
public:
BadExpressionTreeException(
    String^ reason
)
new : 
        reason:string -> BadExpressionTreeException
public function BadExpressionTreeException(
    reason : String
)

Параметры

  • reason
    Тип: System.String
    A String value that specifies the reason that describes the event that caused the exception.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Примеры

Обработка исключений SMO

См. также

Справочник

BadExpressionTreeException Класс

Перегрузка BadExpressionTreeException

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