ClientBase<TChannel>.CreateChannel Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un nouveau canal vers le 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
Retours
Canal du type de contrat de service.
Remarques
Retourne le canal créé par la fabrique de canal interne. Les exceptions levées par peuvent être attendues ChannelFactory<TChannel>.CreateChannel ici.