Export (0) Print
Expand All

WebDomainClient<TContract> 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.]

Provides the default domain client implementation using Windows Communication Foundation (WCF).

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)

public sealed class WebDomainClient<TContract> : DomainClient
where TContract : class

Type Parameters

TContract

The contract type.

The WebDomainClient<TContract> type exposes the following members.

  NameDescription
Public methodWebDomainClient<TContract>(Uri)Initializes a new instance of the WebDomainClient<TContract> class with the specified service URI.
Public methodWebDomainClient<TContract>(Uri, Boolean)Initializes a new instance of the WebDomainClient<TContract> class with the specified service URI and the option to use HTTPS.
Public methodWebDomainClient<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

  NameDescription
Public propertyChannelFactoryGets the channel factory that is used to create channels for communication with the server.
Public propertyEntityTypesGets or sets the collection of entity types this DomainClient will operate on. (Inherited from DomainClient.)
Public propertyServiceUriGets the absolute path to the domain service.
Public propertySupportsCancellationGets a value that indicates whether the DomainClient supports cancellation. (Overrides DomainClient.SupportsCancellation.)
Public propertyUsesHttpsGets a value that indicates whether a secure connection should be used.
Top

  NameDescription
Public methodBeginInvokeInvokes an operation asynchronously. (Inherited from DomainClient.)
Protected methodBeginInvokeCoreCalled by the framework to begin an Invoke operation asynchronously. (Inherited from DomainClient.)
Public methodBeginQueryExecutes an asynchronous query operation. (Inherited from DomainClient.)
Protected methodBeginQueryCoreCalled by the framework to begin the asynchronous query operation. (Inherited from DomainClient.)
Public methodBeginSubmitSubmits the specified EntityChangeSet to the DomainService asynchronously. (Inherited from DomainClient.)
Protected methodBeginSubmitCoreCalled by the framework to asynchronously process the specified EntityChangeSet. (Inherited from DomainClient.)
Public methodCancelInvokeAttempts to cancel the invocation request specified by the asyncResult. (Inherited from DomainClient.)
Protected methodCancelInvokeCoreAttempts to cancel the invocation request specified by the asyncResult. (Inherited from DomainClient.)
Public methodCancelQueryAttempts to cancel the query request specified by the asyncResult. (Inherited from DomainClient.)
Protected methodCancelQueryCoreAttempts to cancel the query request specified by the asyncResult. (Inherited from DomainClient.)
Public methodCancelSubmitAttempts to cancel the submit request specified by the asyncResult. (Inherited from DomainClient.)
Protected methodCancelSubmitCoreAttempts to cancel the submit request specified by the asyncResult. (Inherited from DomainClient.)
Public methodEndInvokeCompletes an operation invocation. (Inherited from DomainClient.)
Protected methodEndInvokeCoreCalled by the framework to complete an asynchronous invocation. (Inherited from DomainClient.)
Public methodEndQueryGets the results of an asynchronous query operation. (Inherited from DomainClient.)
Protected methodEndQueryCoreCalled by the framework to complete the asynchronous query operation. (Inherited from DomainClient.)
Public methodEndSubmitGets the results of a submit request. (Inherited from DomainClient.)
Protected methodEndSubmitCoreCalled by the framework to complete an asynchronous submit operation. (Inherited from DomainClient.)
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

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