ProviderServiceBase Constructor (String, TraceSource)
Creates a new instance of the ProviderServiceBase object, using the specified service name and tracer.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
protected ProviderServiceBase(
string serviceName,
TraceSource tracer
)
protected:
ProviderServiceBase(
String^ serviceName,
TraceSource^ tracer
)
Protected Sub New (
serviceName As String,
tracer As TraceSource
)
Parameters
serviceName
Type: System.StringThe 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.
tracer
Type: System.Diagnostics.TraceSourceThe tracer.
See Also
ProviderServiceBase Overload
ProviderServiceBase Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top