EndpointDiscoveryMetadata.FromServiceEndpoint Method

Definition

Overloads

FromServiceEndpoint(ServiceEndpoint)

Creates a new EndpointDiscoveryMetadata from a ServiceEndpoint.

FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)

Creates a new instance of the EndpointDiscoveryMetadata class using the specified service endpoint and endpoint dispatcher.

FromServiceEndpoint(ServiceEndpoint)

public static System.ServiceModel.Discovery.EndpointDiscoveryMetadata FromServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint);

Parameters

endpoint
ServiceEndpoint

A service endpoint.

Returns

A new EndpointDiscoveryMetadata instance.

Applies to

.NET Framework 4.8.1 y otras versiones
Producto Versiones
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)

Creates a new instance of the EndpointDiscoveryMetadata class using the specified service endpoint and endpoint dispatcher.

public static System.ServiceModel.Discovery.EndpointDiscoveryMetadata FromServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);

Parameters

endpoint
ServiceEndpoint

The endpoint.

endpointDispatcher
EndpointDispatcher

The endpoint dispatcher.

Returns

A new EndpointDiscoveryMetadata instance.

Applies to

.NET Framework 4.8.1 y otras versiones
Producto Versiones
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1