Modifier

Partager via


StandardEndpointElement.InitializeFrom(ServiceEndpoint) Method

Definition

Ensures that the specified service endpoint is not null and that its type matches the current endpoint type.

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)

Parameters

endpoint
ServiceEndpoint

An endpoint that enables clients to find and communicate with the service.

Applies to