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 | |
---|---|---|
DomainClient | Initializes a new instance of the DomainClient class. |
Top
Properties
Name | Description | |
---|---|---|
EntityTypes | Gets or sets the collection of entity types this DomainClient will operate on. | |
SupportsCancellation | Gets a value that indicates whether the DomainClient supports cancellation. |
Top
Methods
Name | Description | |
---|---|---|
BeginInvoke | Invokes an operation asynchronously. | |
BeginInvokeCore | Called by the framework to begin an Invoke operation asynchronously. | |
BeginQuery | Executes an asynchronous query operation. | |
BeginQueryCore | Called by the framework to begin the asynchronous query operation. | |
BeginSubmit | Submits the specified EntityChangeSet to the DomainService asynchronously. | |
BeginSubmitCore | Called by the framework to asynchronously process the specified EntityChangeSet. | |
CancelInvoke | Attempts to cancel the invocation request specified by the asyncResult. | |
CancelInvokeCore | Attempts to cancel the invocation request specified by the asyncResult. | |
CancelQuery | Attempts to cancel the query request specified by the asyncResult. | |
CancelQueryCore | Attempts to cancel the query request specified by the asyncResult. | |
CancelSubmit | Attempts to cancel the submit request specified by the asyncResult. | |
CancelSubmitCore | Attempts to cancel the submit request specified by the asyncResult. | |
EndInvoke | Completes an operation invocation. | |
EndInvokeCore | Called by the framework to complete an asynchronous invocation. | |
EndQuery | Gets the results of an asynchronous query operation. | |
EndQueryCore | Called by the framework to complete the asynchronous query operation. | |
EndSubmit | Gets the results of a submit request. | |
EndSubmitCore | Called by the framework to complete an asynchronous submit operation. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.