EndpointDiscoveryMetadata.FromServiceEndpoint Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un nuovo oggetto EndpointDiscoveryMetadata da un oggetto ServiceEndpoint.
Overload
FromServiceEndpoint(ServiceEndpoint) |
Crea un nuovo oggetto EndpointDiscoveryMetadata da un oggetto ServiceEndpoint. |
FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher) |
Crea una nuova istanza della classe EndpointDiscoveryMetadata utilizzando l'endpoint del servizio e il dispatcher dell'endpoint specificati. |
FromServiceEndpoint(ServiceEndpoint)
Crea un nuovo oggetto EndpointDiscoveryMetadata da un oggetto 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
Parametri
- endpoint
- ServiceEndpoint
Endpoint del servizio.
Restituisce
Nuova istanza di EndpointDiscoveryMetadata.
Si applica a
FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)
Crea una nuova istanza della classe EndpointDiscoveryMetadata utilizzando l'endpoint del servizio e il dispatcher dell'endpoint specificati.
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
Parametri
- endpoint
- ServiceEndpoint
L'endpoint.
- endpointDispatcher
- EndpointDispatcher
Dispatcher dell'endpoint.
Restituisce
Nuova istanza di EndpointDiscoveryMetadata.