WcfCommunicationClient<TServiceContract> WcfCommunicationClient<TServiceContract> WcfCommunicationClient<TServiceContract> Class


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


WCF service contract



Channel Channel Channel

Gets the WCF channel for the specified contract that this communication client uses.

Endpoint Endpoint Endpoint

Gets or sets the service endpoint to which the client is connected to.

ListenerName ListenerName ListenerName

Gets or sets the name of the listener in the service replica or instance to which the client is connected to.

ResolvedServicePartition ResolvedServicePartition 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.


Finalize() Finalize() Finalize()

Finalizes an instance of the WcfCommunicationClient<TServiceContract> class.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to