Sdílet prostřednictvím


ServiceConfiguration.EnableProtocol(Binding) Metoda

Definice

Povoluje vazbu protokolu s koncovým bodem služby.

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)

Parametry

protocol
Binding

Protokol vazby.

Návraty

Collection<ServiceEndpoint>

Kolekce koncového bodu služby

Platí pro