AnnouncementEndpointElement.CreateServiceEndpoint Method (ContractDescription)

.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.

When called or overridden by a derived class, creates and initializes a new instance of the AnnouncementEndpoint class that uses the contract description of the current Discovery protocol version.

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

protected internal override ServiceEndpoint CreateServiceEndpoint(
	ContractDescription contractDescription
)

Parameters

contractDescription
Type: System.ServiceModel.Description.ContractDescription

Not used.

Return Value

Type: System.ServiceModel.Description.ServiceEndpoint

An announcement endpoint.

.NET Framework
Available since 4.0
Return to top
Show: