ServiceConfiguration.EnableProtocol Method (Binding)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Enables a binding protocol with the service endpoint.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Collection<ServiceEndpoint> EnableProtocol(
	Binding protocol
)

Parameters

protocol
Type: System.ServiceModel.Channels.Binding

The binding protocol.

Return Value

Type: System.Collections.ObjectModel.Collection<ServiceEndpoint>

A collection of service endpoint.

.NET Framework
Available since 4.5
Return to top
Show: