ProviderServiceBase Class
Provides a generic Windows Service host environment to host ProviderHost objects.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.ServiceProcess.ServiceBase
Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderServiceBase
Syntax
[CLSCompliantAttribute(true)]
public abstract class ProviderServiceBase : ServiceBase
[CLSCompliantAttribute(true)]
public ref class ProviderServiceBase abstract : ServiceBase
<CLSCompliantAttribute(True)>
Public MustInherit Class ProviderServiceBase
Inherits ServiceBase
Constructors
Name | Description | |
---|---|---|
ProviderServiceBase(String) | Initializes a new instance of the ProviderServiceBase class with the specified service name. |
|
ProviderServiceBase(String, Boolean) | Initializes a new instance of the ProviderServiceBase class with the specified service information. |
|
ProviderServiceBase(String, Boolean, TraceSource) | Initializes a new instance of the ProviderServiceBase class with the specified service information. |
|
ProviderServiceBase(String, TraceSource) | Creates a new instance of the ProviderServiceBase object, using the specified service name and tracer. |
Properties
Name | Description | |
---|---|---|
AutoLog | (Inherited from ServiceBase.) |
|
CanHandlePowerEvent | (Inherited from ServiceBase.) |
|
CanHandleSessionChangeEvent | (Inherited from ServiceBase.) |
|
CanPauseAndContinue | (Inherited from ServiceBase.) |
|
CanRaiseEvents | (Inherited from Component.) |
|
CanShutdown | (Inherited from ServiceBase.) |
|
CanStop | (Inherited from ServiceBase.) |
|
Container | (Inherited from Component.) |
|
DesignMode | (Inherited from Component.) |
|
EventLog | (Inherited from ServiceBase.) |
|
Events | (Inherited from Component.) |
|
ExitCode | (Inherited from ServiceBase.) |
|
ServiceHandle | (Inherited from ServiceBase.) |
|
ServiceName | (Inherited from ServiceBase.) |
|
Site | (Inherited from Component.) |
|
Tracer | Gets and sets the tracer. |
Methods
Name | Description | |
---|---|---|
CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
|
CreateProviderHosts() | Returns a non-empty list of ProviderHost objects. |
|
Dispose() | (Inherited from Component.) |
|
Dispose(Boolean) | (Inherited from ServiceBase.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Component.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetLifetimeService() | (Inherited from MarshalByRefObject.) |
|
GetService(Type) | (Inherited from Component.) |
|
GetType() | (Inherited from Object.) |
|
InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
|
OnContinue() | (Inherited from ServiceBase.) |
|
OnCustomCommand(Int32) | (Inherited from ServiceBase.) |
|
OnPause() | (Inherited from ServiceBase.) |
|
OnPowerEvent(PowerBroadcastStatus) | (Inherited from ServiceBase.) |
|
OnSessionChange(SessionChangeDescription) | (Inherited from ServiceBase.) |
|
OnShutdown() | (Inherited from ServiceBase.) |
|
OnStart(String[]) | This method is called when the Windows Service is started.(Overrides ServiceBase.OnStart(String[]).) |
|
OnStartInner(String[]) | Called when the Windows Service is started. |
|
OnStop() | This method is called when the Windows Service is stopped.(Overrides ServiceBase.OnStop().) |
|
RequestAdditionalTime(Int32) | Requests additional time for the service. |
|
Stop() | Stops the service. |
|
Stop(Int32) | Stops the service, using the specified exit code. |
|
ToString() | (Inherited from Component.) |
Events
Name | Description | |
---|---|---|
Disposed | (Inherited from Component.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top