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.
Creates a WSTrustChannel object that is used to send messages to a service at a specific endpoint address through a specified transport address.
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
La EndpointAddress qui fournit l'emplacement du service.
Retours
A Contract object that represents the new channel.
Remarques
L’objet retourné est une instance de la WSTrustChannel classe .