Partager via


ServiceConfiguration.EnableProtocol(Binding) Méthode

Définition

Active un protocole de liaison avec le point de terminaison de service.

public:
 System::Collections::ObjectModel::Collection<System::ServiceModel::Description::ServiceEndpoint ^> ^ EnableProtocol(System::ServiceModel::Channels::Binding ^ protocol);
public System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint> EnableProtocol (System.ServiceModel.Channels.Binding protocol);
member this.EnableProtocol : System.ServiceModel.Channels.Binding -> System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint>
Public Function EnableProtocol (protocol As Binding) As Collection(Of ServiceEndpoint)

Paramètres

protocol
Binding

Protocole de liaison.

Retours

Collection de points de terminaison de service.

S’applique à