다음을 통해 공유


ValidationFailedException Constructor (String, Exception)

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

‘선언
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

See Also

Reference

ValidationFailedException Class

ValidationFailedException Overload

Microsoft.TeamFoundation.Client Namespace