OperationBase.HasError 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 a value that indicates whether the operation failed.

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

Syntax

'Declaration
Public ReadOnly Property HasError As Boolean
    Get
'Usage
Dim instance As OperationBase
Dim value As Boolean

value = instance.HasError
public bool HasError { get; }
public:
property bool HasError {
    bool get ();
}
member HasError : bool
function get HasError () : boolean

Property Value

Type: System.Boolean
true if the operation failed; otherwise, false.

Remarks

If true, inspect the Error property for details of the error.

See Also

Reference

OperationBase Class

System.ServiceModel.DomainServices.Client Namespace

Error