ServiceMetadataEndpointElement.CreateServiceEndpoint 方法

定义

使用指定的协定说明创建新的服务终结点。

protected public:
 override System::ServiceModel::Description::ServiceEndpoint ^ CreateServiceEndpoint(System::ServiceModel::Description::ContractDescription ^ contractDescription);
protected internal override System.ServiceModel.Description.ServiceEndpoint CreateServiceEndpoint (System.ServiceModel.Description.ContractDescription contractDescription);
override this.CreateServiceEndpoint : System.ServiceModel.Description.ContractDescription -> System.ServiceModel.Description.ServiceEndpoint
Protected Friend Overrides Function CreateServiceEndpoint (contractDescription As ContractDescription) As ServiceEndpoint

参数

contractDescription
ContractDescription

服务应用程序发布的有关位置和绑定信息的字母数字说明,以便客户端应用程序可以访问它。

返回

服务终结点。

适用于