共用方式為


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

位置和繫結資訊的英數字元描述,服務應用程式會發佈此資訊以供用戶端應用程式進行存取。

傳回

服務端點。

適用於