ServiceConfiguration.EnableProtocol(Binding) Método

Definición

Habilita un protocolo de enlace con el extremo de servicio.Enables a binding protocol with the service endpoint.

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.The binding protocol.

Devoluciones

Collection<ServiceEndpoint>

Colección de extremo de servicio.A collection of service endpoint.

Se aplica a