ProviderServiceBase.CreateProviderHosts Method ()
Returns a non-empty list of ProviderHost objects.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
protected abstract IList<ProviderHost> CreateProviderHosts()
protected:
virtual IList<ProviderHost^>^ CreateProviderHosts() abstract
Protected MustOverride Function CreateProviderHosts As IList(Of ProviderHost)
Return Value
Type: System.Collections.Generic.IList<ProviderHost>
A IList<T> of ProviderHost objects.
Remarks
When the Windows Service is started, the ProviderServiceBase object calls the Open method on each ProviderHost object. This method may be called more than once in the case of a shared service process where this service is started and stopped multiple times over the lifetime of the shared service process.
See Also
ProviderServiceBase Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top