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.
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 | |
|---|---|---|
| .jpeg) | ProviderServiceBase(String) | Initializes a new instance of the ProviderServiceBase class with the specified service name. | 
| .jpeg) | ProviderServiceBase(String, Boolean) | Initializes a new instance of the ProviderServiceBase class with the specified service information. | 
| .jpeg) | ProviderServiceBase(String, Boolean, TraceSource) | Initializes a new instance of the ProviderServiceBase class with the specified service information. | 
| .jpeg) | ProviderServiceBase(String, TraceSource) | Creates a new instance of the ProviderServiceBase object, using the specified service name and tracer. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | AutoLog | (Inherited from ServiceBase.) | 
| .jpeg) | CanHandlePowerEvent | (Inherited from ServiceBase.) | 
| .jpeg) | CanHandleSessionChangeEvent | (Inherited from ServiceBase.) | 
| .jpeg) | CanPauseAndContinue | (Inherited from ServiceBase.) | 
| .jpeg) | CanRaiseEvents | (Inherited from Component.) | 
| .jpeg) | CanShutdown | (Inherited from ServiceBase.) | 
| .jpeg) | CanStop | (Inherited from ServiceBase.) | 
| .jpeg) | Container | (Inherited from Component.) | 
| .jpeg) | DesignMode | (Inherited from Component.) | 
| .jpeg) | EventLog | (Inherited from ServiceBase.) | 
| .jpeg) | Events | (Inherited from Component.) | 
| .jpeg) | ExitCode | (Inherited from ServiceBase.) | 
| .jpeg) | ServiceHandle | (Inherited from ServiceBase.) | 
| .jpeg) | ServiceName | (Inherited from ServiceBase.) | 
| .jpeg) | Site | (Inherited from Component.) | 
| .jpeg) | Tracer | Gets and sets the tracer. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | CreateObjRef(Type) | (Inherited from MarshalByRefObject.) | 
| .jpeg) | CreateProviderHosts() | Returns a non-empty list of ProviderHost objects. | 
| .jpeg) | Dispose() | (Inherited from Component.) | 
| .jpeg) | Dispose(Boolean) | (Inherited from ServiceBase.) | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Component.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetLifetimeService() | (Inherited from MarshalByRefObject.) | 
| .jpeg) | GetService(Type) | (Inherited from Component.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | 
| .jpeg) | OnContinue() | (Inherited from ServiceBase.) | 
| .jpeg) | OnCustomCommand(Int32) | (Inherited from ServiceBase.) | 
| .jpeg) | OnPause() | (Inherited from ServiceBase.) | 
| .jpeg) | OnPowerEvent(PowerBroadcastStatus) | (Inherited from ServiceBase.) | 
| .jpeg) | OnSessionChange(SessionChangeDescription) | (Inherited from ServiceBase.) | 
| .jpeg) | OnShutdown() | (Inherited from ServiceBase.) | 
| .jpeg) | OnStart(String[]) | This method is called when the Windows Service is started.(Overrides ServiceBase.OnStart(String[]).) | 
| .jpeg) | OnStartInner(String[]) | Called when the Windows Service is started. | 
| .jpeg) | OnStop() | This method is called when the Windows Service is stopped.(Overrides ServiceBase.OnStop().) | 
| .jpeg) | RequestAdditionalTime(Int32) | Requests additional time for the service. | 
| .jpeg) | Stop() | Stops the service. | 
| .jpeg) | Stop(Int32) | Stops the service, using the specified exit code. | 
| .jpeg) | ToString() | (Inherited from Component.) | 
Events
| Name | Description | |
|---|---|---|
| .jpeg) | 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