C# 클래스 xenwinsvc.XenService

상속: System.ServiceProcess.ServiceBase, IExceptionHandler
파일 보기 프로젝트 열기: xenserver/win-xenguestagent

공개 메소드들

메소드 설명
HandleException ( string from, Exception e ) : void
Main ( string args ) : int
OnNeedsReset ( ) : void
XenService ( ) : System

보호된 메소드들

메소드 설명
OnPowerEvent ( System powerStatus ) : bool
OnSessionChange ( System changeDescription ) : void
OnShutdown ( ) : void
OnStart ( string args ) : void
OnStop ( ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

HandleException() 공개 메소드

public HandleException ( string from, Exception e ) : void
from string
e System.Exception
리턴 void

Main() 공개 정적인 메소드

public static Main ( string args ) : int
args string
리턴 int

OnNeedsReset() 공개 메소드

public OnNeedsReset ( ) : void
리턴 void

OnPowerEvent() 보호된 메소드

protected OnPowerEvent ( System powerStatus ) : bool
powerStatus System
리턴 bool

OnSessionChange() 보호된 메소드

protected OnSessionChange ( System changeDescription ) : void
changeDescription System
리턴 void

OnShutdown() 보호된 메소드

protected OnShutdown ( ) : void
리턴 void

OnStart() 보호된 메소드

protected OnStart ( string args ) : void
args string
리턴 void

OnStop() 보호된 메소드

protected OnStop ( ) : void
리턴 void

XenService() 공개 메소드

public XenService ( ) : System
리턴 System