Compartir a través de


ServiceConfiguration.EnableProtocol(Binding) Método

Definición

Habilita un protocolo de enlace con el extremo de servicio.

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)

Parámetros

protocol
Binding

Protocolo de enlace.

Devoluciones

Collection<ServiceEndpoint>

Colección de extremo de servicio.

Se aplica a