WSTrustChannelFactory.CreateChannel(EndpointAddress, Uri) 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.
Crée un WSTrustChannel objet utilisé pour envoyer des messages à un service à une adresse de point de terminaison spécifique via une adresse de transport spécifiée.
public:
override System::ServiceModel::Security::IWSTrustChannelContract ^ CreateChannel(System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public override System.ServiceModel.Security.IWSTrustChannelContract CreateChannel(System.ServiceModel.EndpointAddress address, Uri via);
override this.CreateChannel : System.ServiceModel.EndpointAddress * Uri -> System.ServiceModel.Security.IWSTrustChannelContract
Public Overrides Function CreateChannel (address As EndpointAddress, via As Uri) As IWSTrustChannelContract
Paramètres
- address
- EndpointAddress
Qui EndpointAddress fournit l’emplacement du service.
Retours
Objet Contract qui représente le nouveau canal.
Remarques
L’objet retourné est une instance de la WSTrustChannel classe.