Compartilhar via


ValidationResultInfo.Message Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the error message.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property Message As String
    Get
    Set
'Usage
Dim instance As ValidationResultInfo
Dim value As String

value = instance.Message

instance.Message = value
[DataMemberAttribute(EmitDefaultValue = false)]
public string Message { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property String^ Message {
    String^ get ();
    void set (String^ value);
}
[<DataMemberAttribute(EmitDefaultValue = false)>]
member Message : string with get, set
function get Message () : String
function set Message (value : String)

Property Value

Type: System.String
The error message.

See Also

Reference

ValidationResultInfo Class

System.ServiceModel.DomainServices.Client Namespace