ClientBase<TChannel>.CreateChannel Metodo

Definizione

Restituisce un nuovo canale al servizio.

protected:
 virtual TChannel CreateChannel();
protected virtual TChannel CreateChannel();
abstract member CreateChannel : unit -> 'Channel
override this.CreateChannel : unit -> 'Channel
Protected Overridable Function CreateChannel () As TChannel

Valori restituiti

TChannel

Canale del tipo di contratto di servizio.

Commenti

Restituisce il canale creato dalla channel factory interna. Le eccezioni generate da ChannelFactory<TChannel>.CreateChannel possono essere previste qui.

Si applica a