Share via


DomainClient Class

[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.]

Serves as the base class for all DomainClient implementations.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.DomainClient
    System.ServiceModel.DomainServices.Client.WebDomainClient<TContract>

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

Syntax

'Declaration
Public MustInherit Class DomainClient
'Usage
Dim instance As DomainClient
public abstract class DomainClient
public ref class DomainClient abstract
[<AbstractClassAttribute>]
type DomainClient =  class end
public abstract class DomainClient

The DomainClient type exposes the following members.

Constructors

  Name Description
Protected method DomainClient Initializes a new instance of the DomainClient class.

Top

Properties

  Name Description
Public property EntityTypes Gets or sets the collection of entity types this DomainClient will operate on.
Public property SupportsCancellation Gets a value that indicates whether the DomainClient supports cancellation.

Top

Methods

  Name Description
Public method BeginInvoke Invokes an operation asynchronously.
Protected method BeginInvokeCore Called by the framework to begin an Invoke operation asynchronously.
Public method BeginQuery Executes an asynchronous query operation.
Protected method BeginQueryCore Called by the framework to begin the asynchronous query operation.
Public method BeginSubmit Submits the specified EntityChangeSet to the DomainService asynchronously.
Protected method BeginSubmitCore Called by the framework to asynchronously process the specified EntityChangeSet.
Public method CancelInvoke Attempts to cancel the invocation request specified by the asyncResult.
Protected method CancelInvokeCore Attempts to cancel the invocation request specified by the asyncResult.
Public method CancelQuery Attempts to cancel the query request specified by the asyncResult.
Protected method CancelQueryCore Attempts to cancel the query request specified by the asyncResult.
Public method CancelSubmit Attempts to cancel the submit request specified by the asyncResult.
Protected method CancelSubmitCore Attempts to cancel the submit request specified by the asyncResult.
Public method EndInvoke Completes an operation invocation.
Protected method EndInvokeCore Called by the framework to complete an asynchronous invocation.
Public method EndQuery Gets the results of an asynchronous query operation.
Protected method EndQueryCore Called by the framework to complete the asynchronous query operation.
Public method EndSubmit Gets the results of a submit request.
Protected method EndSubmitCore Called by the framework to complete an asynchronous submit operation.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

A DomainClient is used to communicate with a DomainService asynchronously. A DomainClient provides query, method invocation, and change set submission functionality.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.ServiceModel.DomainServices.Client Namespace