Share via


ValidationResultInfo Constructor (String, IEnumerable<String>)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the ValidationResultInfo class.

Namespace:  System.Web.Http.Data
Assembly:  System.Web.Http.Data (in System.Web.Http.Data.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    sourceMemberNames As IEnumerable(Of String) _
)
public ValidationResultInfo(
    string message,
    IEnumerable<string> sourceMemberNames
)
public:
ValidationResultInfo(
    String^ message, 
    IEnumerable<String^>^ sourceMemberNames
)
new : 
        message:string * 
        sourceMemberNames:IEnumerable<string> -> ValidationResultInfo
public function ValidationResultInfo(
    message : String, 
    sourceMemberNames : IEnumerable<String>
)

Parameters

Remarks

This constructor accepts the localized error message and the collection of the names of the members the error originated from.

See Also

Reference

ValidationResultInfo Class

ValidationResultInfo Overload

System.Web.Http.Data Namespace