Partilhar via


EndpointDiscoveryMetadata.FromServiceEndpoint Método

Definição

Cria um novo EndpointDiscoveryMetadata com base em um ServiceEndpoint.

Sobrecargas

FromServiceEndpoint(ServiceEndpoint)

Cria um novo EndpointDiscoveryMetadata com base em um ServiceEndpoint.

FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)

Cria uma nova instância da classe EndpointDiscoveryMetadata usando o ponto de extremidade de serviço e o dispatcher de ponto de extremidade especificados.

FromServiceEndpoint(ServiceEndpoint)

Cria um novo EndpointDiscoveryMetadata com base em um 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

Parâmetros

endpoint
ServiceEndpoint

Um ponto de extremidade de serviço.

Retornos

EndpointDiscoveryMetadata

Uma nova instância de EndpointDiscoveryMetadata.

Aplica-se a

FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)

Cria uma nova instância da classe EndpointDiscoveryMetadata usando o ponto de extremidade de serviço e o dispatcher de ponto de extremidade especificados.

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

Parâmetros

endpoint
ServiceEndpoint

O ponto de extremidade.

endpointDispatcher
EndpointDispatcher

O dispatcher do ponto de extremidade.

Retornos

EndpointDiscoveryMetadata

Uma nova instância de EndpointDiscoveryMetadata.

Aplica-se a