共用方式為


UdpDiscoveryEndpointElement.InitializeFrom(ServiceEndpoint) 方法

定義

將指定的 ServiceEndpoint 轉換成 UdpDiscoveryEndpoint

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

參數

endpoint
ServiceEndpoint

要轉換的服務端點物件。

適用於