WcfCommunicationClientFactory<TServiceContract>.CreateWcfCommunicationClient(TServiceContract) Method

Definition

Creates WCF communication clients to communicate over the given channel.

protected virtual Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<TServiceContract> CreateWcfCommunicationClient (TServiceContract channel);
abstract member CreateWcfCommunicationClient : 'ServiceContract -> Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<'ServiceContract (requires 'ServiceContract : null)>
override this.CreateWcfCommunicationClient : 'ServiceContract -> Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<'ServiceContract (requires 'ServiceContract : null)>
Protected Overridable Function CreateWcfCommunicationClient (channel As TServiceContract) As WcfCommunicationClient(Of TServiceContract)

Parameters

channel
TServiceContract

Service contract based WCF channel.

Returns

WcfCommunicationClient<TServiceContract>

The communication client that was created

Applies to