Condividi tramite


EndpointDiscoveryMetadata.FromServiceEndpoint Metodo

Definizione

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

EndpointDiscoveryMetadata

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

EndpointDiscoveryMetadata

Nuova istanza di EndpointDiscoveryMetadata.

Si applica a