WebDomainClient<TContract> 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.]
Provides the default domain client implementation using Windows Communication Foundation (WCF).
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.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
Public NotInheritable Class WebDomainClient(Of TContract As Class) _
Inherits DomainClient
'Usage
Dim instance As WebDomainClient(Of TContract)
public sealed class WebDomainClient<TContract> : DomainClient
where TContract : class
generic<typename TContract>
where TContract : ref class
public ref class WebDomainClient sealed : public DomainClient
[<SealedAttribute>]
type WebDomainClient<'TContract when 'TContract : not struct> =
class
inherit DomainClient
end
JScript does not support generic types and methods.
Type Parameters
- TContract
The contract type.
The WebDomainClient<TContract> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebDomainClient<TContract>(Uri) | Initializes a new instance of the WebDomainClient<TContract> class with the specified service URI. | |
WebDomainClient<TContract>(Uri, Boolean) | Initializes a new instance of the WebDomainClient<TContract> class with the specified service URI and the option to use HTTPS. | |
WebDomainClient<TContract>(Uri, Boolean, ChannelFactory<TContract>) | Initializes a new instance of the WebDomainClient<TContract> class with the specified service URI, the option to use HTTPS, and the channel factory. |
Top
Properties
Name | Description | |
---|---|---|
ChannelFactory | Gets the channel factory that is used to create channels for communication with the server. | |
EntityTypes | Gets or sets the collection of entity types this DomainClient will operate on. (Inherited from DomainClient.) | |
ServiceUri | Gets the absolute path to the domain service. | |
SupportsCancellation | Gets a value that indicates whether the DomainClient supports cancellation. (Overrides DomainClient.SupportsCancellation.) | |
UsesHttps | Gets a value that indicates whether a secure connection should be used. |
Top
Methods
Name | Description | |
---|---|---|
BeginInvoke | Invokes an operation asynchronously. (Inherited from DomainClient.) | |
BeginInvokeCore | Called by the framework to begin an Invoke operation asynchronously. (Inherited from DomainClient.) | |
BeginQuery | Executes an asynchronous query operation. (Inherited from DomainClient.) | |
BeginQueryCore | Called by the framework to begin the asynchronous query operation. (Inherited from DomainClient.) | |
BeginSubmit | Submits the specified EntityChangeSet to the DomainService asynchronously. (Inherited from DomainClient.) | |
BeginSubmitCore | Called by the framework to asynchronously process the specified EntityChangeSet. (Inherited from DomainClient.) | |
CancelInvoke | Attempts to cancel the invocation request specified by the asyncResult. (Inherited from DomainClient.) | |
CancelInvokeCore | Attempts to cancel the invocation request specified by the asyncResult. (Inherited from DomainClient.) | |
CancelQuery | Attempts to cancel the query request specified by the asyncResult. (Inherited from DomainClient.) | |
CancelQueryCore | Attempts to cancel the query request specified by the asyncResult. (Inherited from DomainClient.) | |
CancelSubmit | Attempts to cancel the submit request specified by the asyncResult. (Inherited from DomainClient.) | |
CancelSubmitCore | Attempts to cancel the submit request specified by the asyncResult. (Inherited from DomainClient.) | |
EndInvoke | Completes an operation invocation. (Inherited from DomainClient.) | |
EndInvokeCore | Called by the framework to complete an asynchronous invocation. (Inherited from DomainClient.) | |
EndQuery | Gets the results of an asynchronous query operation. (Inherited from DomainClient.) | |
EndQueryCore | Called by the framework to complete the asynchronous query operation. (Inherited from DomainClient.) | |
EndSubmit | Gets the results of a submit request. (Inherited from DomainClient.) | |
EndSubmitCore | Called by the framework to complete an asynchronous submit operation. (Inherited from DomainClient.) | |
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
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.