Costruttore BadExpressionTreeException (String)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    reason As String _
)
'Utilizzo
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
)

Parametri

  • reason
    Tipo: System.String
    A String value that specifies the reason that describes the event that caused the exception.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

BadExpressionTreeException Classe

Overload BadExpressionTreeException

Spazio dei nomi Microsoft.SqlServer.Management.Dmf