DuplexClientBase(Of TChannel) Class
Provides the base implementation from which Silverlight 5 client objects can call duplex services.
System.ServiceModel.ClientBase(Of TChannel)
System.ServiceModel.DuplexClientBase(Of TChannel)
Namespace: System.ServiceModel
Assembly: System.ServiceModel.Extensions (in System.ServiceModel.Extensions.dll)
The DuplexClientBase(Of TChannel) type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DuplexClientBase(Of TChannel)(InstanceContext) | Initializes a new instance of the DuplexClientBase(Of TChannel) class using the specified callback object. |
![]() | DuplexClientBase(Of TChannel)(InstanceContext, String) | Initializes a new instance of the DuplexClientBase(Of TChannel) class using the specified callback object and configuration name. |
![]() | DuplexClientBase(Of TChannel)(InstanceContext, Binding, EndpointAddress) | Initializes a new instance of the DuplexClientBase(Of TChannel) class using the specified callback object, binding, and service endpoint address. |
![]() | DuplexClientBase(Of TChannel)(InstanceContext, String, EndpointAddress) | Initializes a new instance of the DuplexClientBase(Of TChannel) class using the specified callback object, configuration name, and service endpoint address. |
![]() | DuplexClientBase(Of TChannel)(InstanceContext, String, String) | Initializes a new instance of the DuplexClientBase(Of TChannel) class using the specified callback object, configuration name, and service endpoint address. |
| Name | Description | |
|---|---|---|
![]() | Channel | Gets the inner channel used to communicate with the service. (Inherited from ClientBase(Of TChannel).) |
![]() | ChannelFactory | Gets the underlying ChannelFactory(Of TChannel) object. (Inherited from ClientBase(Of TChannel).) |
![]() | ClientCredentials | Gets the client credentials used to call an operation. (Inherited from ClientBase(Of TChannel).) |
![]() | Endpoint | Gets the target endpoint for the service to which the Silverlight 5 client can connect. (Inherited from ClientBase(Of TChannel).) |
![]() | InnerChannel | Gets the underlying IClientChannel implementation. (Inherited from ClientBase(Of TChannel).) |
![]() | State | Gets the current state of the ClientBase(Of TChannel) object. (Inherited from ClientBase(Of TChannel).) |
| Name | Description | |
|---|---|---|
![]() | Abort | Causes the ClientBase(Of TChannel) object to transition immediately from its current state into the closed state. (Inherited from ClientBase(Of TChannel).) |
![]() | CreateChannel | Returns a channel to the service associated with the callback object passed to the constructor. (Overrides ClientBase(Of TChannel).CreateChannel.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDefaultValueForInitialization(Of T) | Replicates the behavior of the default keyword in C#. (Inherited from ClientBase(Of TChannel).) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InvokeAsync | Provides support for implementing the event-based asynchronous pattern.
For more information about this pattern, see Event-based Asynchronous Pattern Overview. (Inherited from ClientBase(Of TChannel).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICommunicationObject.BeginClose(AsyncCallback, Object) | Begins an asynchronous operation to close the ClientBase(Of TChannel). (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) | Begins an asynchronous operation to close the ClientBase(Of TChannel) with a specified time-out. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.BeginOpen(AsyncCallback, Object) | Begins an asynchronous operation to open the ClientBase(Of TChannel) object. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) | Begins an asynchronous operation to open the ClientBase(Of TChannel) object within a specified interval of time. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Close | Causes the ClientBase(Of TChannel) object to transition from its current state into the closed state. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Close(TimeSpan) | Causes the ClientBase(Of TChannel) object to transition from its current state into the closed state. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Closed | The event handler that is invoked when the ClientBase(Of TChannel) object has transitioned from its current state to the closed state. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Closing | The event handler that is invoked when the ClientBase(Of TChannel) object transitions from its current state to the closed state. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.EndClose | Completes an asynchronous operation to close the ClientBase(Of TChannel) object. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.EndOpen | Completes an asynchronous operation to open the ClientBase(Of TChannel) object. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Faulted | The event handler that is invoked when a fault occurs while performing an operation on the ClientBase(Of TChannel) object. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Open | Causes the ClientBase(Of TChannel) object to transition from the created state into the opened state. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Open(TimeSpan) | Causes the ClientBase(Of TChannel) object to transition from the created state into the opened state within a specified interval of time. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Opened | The event handler that is invoked when the ClientBase(Of TChannel) object has transitioned from the created state to the opened state. (Inherited from ClientBase(Of TChannel).) |
![]() ![]() | ICommunicationObject.Opening | The event handler that is invoked when the ClientBase(Of TChannel) object transitions from the created state to the opened state. (Inherited from ClientBase(Of TChannel).) |
Extend the DuplexClientBase(Of TChannel) class to create a Silverlight 5 client object (proxy) that can be used to connect to a duplex service. Duplex communication between a client and service is governed by a message exchange contract in which either endpoint can send messages to the other independently. A callback object is used to enable the service to set up this bidirectional communication.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.






