WcfCommunicationClient<TServiceContract> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A WCF client created by WcfCommunicationClientFactory<TServiceContract> to communicate with a Service Fabric service using WcfCommunicationListener<TServiceContract>.
public class WcfCommunicationClient<TServiceContract> : Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient where TServiceContract : class
type WcfCommunicationClient<'ServiceContract (requires 'ServiceContract : null)> = class
interface ICommunicationClient
Public Class WcfCommunicationClient(Of TServiceContract)
Implements ICommunicationClient
Type Parameters
- TServiceContract
WCF service contract
- Inheritance
-
WcfCommunicationClient<TServiceContract>
- Implements
Properties
Channel |
Gets the WCF channel for the specified contract that this communication client uses. |
Endpoint |
Gets or sets the service endpoint to which the client is connected to. |
ListenerName |
Gets or sets the name of the listener in the service replica or instance to which the client is connected to. |
ResolvedServicePartition |
Gets or sets the resolved service partition which contains information about the partition and the endpoints that can be used to communication with the service replica or instance. |
Methods
Finalize() |
Finalizes an instance of the WcfCommunicationClient<TServiceContract> class. |