BadExpressionTreeException Constructor (String)

 

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

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

Syntax

public BadExpressionTreeException(
    string reason
)
public:
BadExpressionTreeException(
    String^ reason
)
new : 
        reason:string -> BadExpressionTreeException
Public Sub New (
    reason As String
)

Parameters

  • reason
    Type: System.String

    A String value that specifies the reason that describes the event that caused the exception.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

BadExpressionTreeException Overload
BadExpressionTreeException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top