共用方式為


StandardEndpointElement.InitializeFrom(ServiceEndpoint) 方法

定義

確認指定服務端點並非 null,且其型別符合目前的端點型別。

protected public:
 virtual void InitializeFrom(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected internal virtual void InitializeFrom (System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member InitializeFrom : System.ServiceModel.Description.ServiceEndpoint -> unit
override this.InitializeFrom : System.ServiceModel.Description.ServiceEndpoint -> unit
Protected Friend Overridable Sub InitializeFrom (endpoint As ServiceEndpoint)

參數

endpoint
ServiceEndpoint

端點,可讓用戶端尋找並與服務通訊。

適用於