Partilhar via


EndpointDiscoveryMetadata.FromServiceEndpoint Método

Definição

Sobrecargas

FromServiceEndpoint(ServiceEndpoint)

Cria um novo EndpointDiscoveryMetadata de 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)

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

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 de ponto de extremidade.

Retornos

Uma nova instância de EndpointDiscoveryMetadata.

Aplica-se a