EndpointDiscoveryMetadata.FromServiceEndpoint Method
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.
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. |
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
.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 |
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
.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 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: