ProviderServiceBase Class

 

Provides a generic Windows Service host environment to host ProviderHost objects.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

System::Object
  System::MarshalByRefObject
    System.ComponentModel::Component
      System.ServiceProcess::ServiceBase
        Microsoft.WindowsServerSolutions.Common.ProviderFramework::ProviderServiceBase

[CLSCompliantAttribute(true)]
public ref class ProviderServiceBase abstract : ServiceBase

NameDescription
System_CAPS_protmethodProviderServiceBase(String^)

Initializes a new instance of the ProviderServiceBase class with the specified service name.

System_CAPS_protmethodProviderServiceBase(String^, Boolean)

Initializes a new instance of the ProviderServiceBase class with the specified service information.

System_CAPS_protmethodProviderServiceBase(String^, Boolean, TraceSource^)

Initializes a new instance of the ProviderServiceBase class with the specified service information.

System_CAPS_protmethodProviderServiceBase(String^, TraceSource^)

Creates a new instance of the ProviderServiceBase object, using the specified service name and tracer.

NameDescription
System_CAPS_pubpropertyAutoLog

(Inherited from ServiceBase.)

System_CAPS_pubpropertyCanHandlePowerEvent

(Inherited from ServiceBase.)

System_CAPS_pubpropertyCanHandleSessionChangeEvent

(Inherited from ServiceBase.)

System_CAPS_pubpropertyCanPauseAndContinue

(Inherited from ServiceBase.)

System_CAPS_protpropertyCanRaiseEvents

(Inherited from Component.)

System_CAPS_pubpropertyCanShutdown

(Inherited from ServiceBase.)

System_CAPS_pubpropertyCanStop

(Inherited from ServiceBase.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_pubpropertyEventLog

(Inherited from ServiceBase.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_pubpropertyExitCode

(Inherited from ServiceBase.)

System_CAPS_protpropertyServiceHandle

(Inherited from ServiceBase.)

System_CAPS_pubpropertyServiceName

(Inherited from ServiceBase.)

System_CAPS_pubpropertySite

(Inherited from Component.)

System_CAPS_protpropertyTracer

Gets and sets the tracer.

NameDescription
System_CAPS_pubmethodCreateObjRef(Type^)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodCreateProviderHosts()

Returns a non-empty list of ProviderHost objects.

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from ServiceBase.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type^)

(Inherited from Component.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnContinue()

(Inherited from ServiceBase.)

System_CAPS_protmethodOnCustomCommand(Int32)

(Inherited from ServiceBase.)

System_CAPS_protmethodOnPause()

(Inherited from ServiceBase.)

System_CAPS_protmethodOnPowerEvent(PowerBroadcastStatus)

(Inherited from ServiceBase.)

System_CAPS_protmethodOnSessionChange(SessionChangeDescription)

(Inherited from ServiceBase.)

System_CAPS_protmethodOnShutdown()

(Inherited from ServiceBase.)

System_CAPS_protmethodOnStart(array<String^>^)

This method is called when the Windows Service is started.(Overrides ServiceBase::OnStart(array<String^>^).)

System_CAPS_protmethodOnStartInner(array<String^>^)

Called when the Windows Service is started.

System_CAPS_protmethodOnStop()

This method is called when the Windows Service is stopped.(Overrides ServiceBase::OnStop().)

System_CAPS_pubmethodRequestAdditionalTime(Int32)

Requests additional time for the service.

System_CAPS_pubmethodStop()

Stops the service.

System_CAPS_pubmethodStop(Int32)

Stops the service, using the specified exit code.

System_CAPS_pubmethodToString()

(Inherited from Component.)

NameDescription
System_CAPS_pubeventDisposed

(Inherited from Component.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: