Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ProviderServiceBase class with the specified service information.
Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)
Syntax
protected ProviderServiceBase(
    string serviceName,
    bool openAsync,
    TraceSource tracer
)
protected:
ProviderServiceBase(
    String^ serviceName,
    bool openAsync,
    TraceSource^ tracer
)
Protected Sub New (
    serviceName As String,
    openAsync As Boolean,
    tracer As TraceSource
)
Parameters
- serviceName 
 Type: System.String- The name of the Windows Service that is implemented by the new object. This must match the name that is registered with the Service Control Manager. 
- openAsync 
 Type: System.Boolean- true causes the Windows Service to immediately report its status as running to the SCM, and call the Open method on the ProviderHost objects (supplied by CreateProviderHosts) on a separate thread; otherwise, false, causes the Windows Service to not report that it is running until the ProviderHost objects have been opened. 
- tracer 
 Type: System.Diagnostics.TraceSource- The tracer. 
See Also
ProviderServiceBase Overload
ProviderServiceBase Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top