'Declaration
Protected Overridable Function InitializeServiceHosts( _ ByVal configuration As ApplicationConfiguration, _ ByVal bindingFactory As TransportListenerBindings, _ ByRef serverDescription As ApplicationDescription, _ ByRef endpoints As EndpointDescriptionCollection _ ) As IList(Of ServiceHost)
'Usage
Dim instance As ServerBase Dim configuration As ApplicationConfiguration Dim bindingFactory As TransportListenerBindings Dim serverDescription As ApplicationDescription Dim endpoints As EndpointDescriptionCollection Dim value As IList(Of ServiceHost) value = instance.InitializeServiceHosts(configuration, bindingFactory, serverDescription, endpoints)
protected virtual IList<ServiceHost> InitializeServiceHosts( ApplicationConfiguration configuration, TransportListenerBindings bindingFactory, out ApplicationDescription serverDescription, out EndpointDescriptionCollection endpoints )
protected: virtual IList<ServiceHost^>^ InitializeServiceHosts( ApplicationConfiguration^ configuration, TransportListenerBindings^ bindingFactory, [Out] ApplicationDescription^ serverDescription, [Out] EndpointDescriptionCollection^ endpoints )
Parameters
- configuration
- The object that stores the configurable configuration information for a UA application.
- bindingFactory
- The object of a class that manages a mapping between a URL scheme and a listener.
- serverDescription
- The object of the class that contains a description for the ApplicationDescription DataType.
- endpoints
- The collection of EndpointDescription objects.
Return Value
Returns list of hosts for a UA service.