ServiceHostBase.AddDefaultEndpoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds service endpoints for all base addresses in each contract found in the service host with the default binding.
public:
virtual System::Collections::ObjectModel::ReadOnlyCollection<System::ServiceModel::Description::ServiceEndpoint ^> ^ AddDefaultEndpoints();
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Description.ServiceEndpoint> AddDefaultEndpoints ();
abstract member AddDefaultEndpoints : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Description.ServiceEndpoint>
override this.AddDefaultEndpoints : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Description.ServiceEndpoint>
Public Overridable Function AddDefaultEndpoints () As ReadOnlyCollection(Of ServiceEndpoint)
Returns
A read-only collection of default endpoints.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.