Compartilhar via


WcfCommunicationClientFactory<TServiceContract>.CreateWcfCommunicationClient Método

Definição

Cria clientes de comunicação do WCF para se comunicar pelo canal especificado.

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)

Parâmetros

channel
TServiceContract

Canal WCF baseado em contrato de serviço.

Retornos

O cliente de comunicação que foi criado

Aplica-se a