Initializes a new instance of the UnexpectedDatabaseResultException class by using the specified message and inner exception.
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public UnexpectedDatabaseResultException(
    string message,
    Exception ex
)
public:
UnexpectedDatabaseResultException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> UnexpectedDatabaseResultException
public function UnexpectedDatabaseResultException(
    message : String, 
    ex : Exception
)
Parameters
- message 
 Type: System.String- A user-readable message that states the error. 
- ex 
 Type: System.Exception- The exception that caused this exception. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UnexpectedDatabaseResultException Class