Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ValidationFailedException class by using the specified message and inner exception.
Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public ValidationFailedException(
    string message,
    Exception innerException
)
public:
ValidationFailedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ValidationFailedException
public function ValidationFailedException(
    message : String, 
    innerException : Exception
)
Parameters
- message
 Type: System.String
 A user-readable message that states the error.
- innerException
 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
ValidationFailedException Class