ClientBase<TChannel>.CreateChannel Método
Definição
Retorna um novo canal para o serviço.Returns a new channel to the service.
protected:
virtual TChannel CreateChannel();
protected virtual TChannel CreateChannel ();
abstract member CreateChannel : unit -> 'Channel
override this.CreateChannel : unit -> 'Channel
Protected Overridable Function CreateChannel () As TChannel
Retornos
- TChannel
Um canal do tipo do contrato de serviço.A channel of the type of the service contract.
Comentários
Retorna o canal criado pela fábrica de canais interna.Returns the channel created by the inner channel factory. Exceções geradas por ChannelFactory<TChannel>.CreateChannel podem ser esperadas aqui.Exceptions thrown by ChannelFactory<TChannel>.CreateChannel can be expected here.