Partager via


ValidationFailedException Constructor (String)

Initializes a new instance of the ValidationFailedException class by using the specified message.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
public ValidationFailedException(
    string message
)
public:
ValidationFailedException(
    String^ message
)
new : 
        message:string -> ValidationFailedException
public function ValidationFailedException(
    message : String
)

Parameters

  • message
    Type: System.String

    A user-readable message that states the error.

.NET Framework Security

See Also

Reference

ValidationFailedException Class

ValidationFailedException Overload

Microsoft.TeamFoundation.Client Namespace