Επεξεργασία

Κοινή χρήση μέσω


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);
public static System.ServiceModel.Discovery.EndpointDiscoveryMetadata FromServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint);
static member FromServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Discovery.EndpointDiscoveryMetadata
Public Shared Function FromServiceEndpoint (endpoint As ServiceEndpoint) As EndpointDiscoveryMetadata

Parameters

endpoint
ServiceEndpoint

A service endpoint.

Returns

A new EndpointDiscoveryMetadata instance.

Applies to

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);
public static System.ServiceModel.Discovery.EndpointDiscoveryMetadata FromServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
static member FromServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> System.ServiceModel.Discovery.EndpointDiscoveryMetadata
Public Shared Function FromServiceEndpoint (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher) As EndpointDiscoveryMetadata

Parameters

endpoint
ServiceEndpoint

The endpoint.

endpointDispatcher
EndpointDispatcher

The endpoint dispatcher.

Returns

A new EndpointDiscoveryMetadata instance.

Applies to