C# Class xenwinsvc.XenService

Inheritance: System.ServiceProcess.ServiceBase, IExceptionHandler
Afficher le fichier Open project: xenserver/win-xenguestagent

Méthodes publiques

Méthode Description
HandleException ( string from, Exception e ) : void
Main ( string args ) : int
OnNeedsReset ( ) : void
XenService ( ) : System

Méthodes protégées

Méthode Description
OnPowerEvent ( System powerStatus ) : bool
OnSessionChange ( System changeDescription ) : void
OnShutdown ( ) : void
OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Méthode Description
Install ( bool undo, string args ) : void
RunMessagePump ( ) : void
RunProcess ( string name, string arg, string comment ) : void
ServiceThreadHandler ( ) : void
ServiceThreadShutdown ( ) : void
WmiCapableServiceThreadHandler ( ) : void
handleUnsuspended ( object nothing, System.Management.EventArrivedEventArgs args ) : void
resetTimeToRefresh ( ) : void
timeToRefresh ( ) : bool

Method Details

HandleException() public méthode

public HandleException ( string from, Exception e ) : void
from string
e System.Exception
Résultat void

Main() public static méthode

public static Main ( string args ) : int
args string
Résultat int

OnNeedsReset() public méthode

public OnNeedsReset ( ) : void
Résultat void

OnPowerEvent() protected méthode

protected OnPowerEvent ( System powerStatus ) : bool
powerStatus System
Résultat bool

OnSessionChange() protected méthode

protected OnSessionChange ( System changeDescription ) : void
changeDescription System
Résultat void

OnShutdown() protected méthode

protected OnShutdown ( ) : void
Résultat void

OnStart() protected méthode

protected OnStart ( string args ) : void
args string
Résultat void

OnStop() protected méthode

protected OnStop ( ) : void
Résultat void

XenService() public méthode

public XenService ( ) : System
Résultat System