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
'Declaration
Public Sub New ( _
reason As String _
)
'Usage
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
)
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
See Also
Reference
BadExpressionTreeException Class