EndpointDiscoveryMetadata.FromServiceEndpoint 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.
Creates a new EndpointDiscoveryMetadata from a ServiceEndpoint.
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)
Creates a new EndpointDiscoveryMetadata from a 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.