Compartilhar via


DomainServiceFault.ErrorMessage 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 message that provides details about the error.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property ErrorMessage As String
    Get
    Set
'Usage
Dim instance As DomainServiceFault
Dim value As String

value = instance.ErrorMessage

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

Property Value

Type: System.String
The error message.

See Also

Reference

DomainServiceFault Class

System.ServiceModel.DomainServices.Client Namespace