Udostępnij za pośrednictwem


WcfCommunicationClientFactory<TServiceContract>.CreateWcfCommunicationClient 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

The communication client that was created

Applies to