Export (0) Print
Expand All

DomainClient Class

WCF RIA Services

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

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

public abstract class DomainClient

The DomainClient type exposes the following members.

  NameDescription
Protected methodDomainClientInitializes a new instance of the DomainClient class.
Top

  NameDescription
Public propertyEntityTypesGets or sets the collection of entity types this DomainClient will operate on.
Public propertySupportsCancellationGets a value that indicates whether the DomainClient supports cancellation.
Top

  NameDescription
Public methodBeginInvokeInvokes an operation asynchronously.
Protected methodBeginInvokeCoreCalled by the framework to begin an Invoke operation asynchronously.
Public methodBeginQueryExecutes an asynchronous query operation.
Protected methodBeginQueryCoreCalled by the framework to begin the asynchronous query operation.
Public methodBeginSubmitSubmits the specified EntityChangeSet to the DomainService asynchronously.
Protected methodBeginSubmitCoreCalled by the framework to asynchronously process the specified EntityChangeSet.
Public methodCancelInvokeAttempts to cancel the invocation request specified by the asyncResult.
Protected methodCancelInvokeCoreAttempts to cancel the invocation request specified by the asyncResult.
Public methodCancelQueryAttempts to cancel the query request specified by the asyncResult.
Protected methodCancelQueryCoreAttempts to cancel the query request specified by the asyncResult.
Public methodCancelSubmitAttempts to cancel the submit request specified by the asyncResult.
Protected methodCancelSubmitCoreAttempts to cancel the submit request specified by the asyncResult.
Public methodEndInvokeCompletes an operation invocation.
Protected methodEndInvokeCoreCalled by the framework to complete an asynchronous invocation.
Public methodEndQueryGets the results of an asynchronous query operation.
Protected methodEndQueryCoreCalled by the framework to complete the asynchronous query operation.
Public methodEndSubmitGets the results of a submit request.
Protected methodEndSubmitCoreCalled by the framework to complete an asynchronous submit operation.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

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