EndpointDiscoveryMetadata.FromServiceEndpoint Method
Definition
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.
Overloads
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. |
FromServiceEndpoint(ServiceEndpoint)
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
FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈