Partilhar via


Construtor BadExpressionTreeException (String)

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public Sub New ( _
    reason As String _
)
'Uso
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
)

Parâmetros

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Exemplos

Manipulando exceções SMO

Consulte também

Referência

BadExpressionTreeException Classe

Sobrecarregado BadExpressionTreeException

Namespace Microsoft.SqlServer.Management.Dmf