C# Class Gwupe.Agent.GwupeClientAppContext

Inheritance: System.Windows.Forms.ApplicationContext
显示文件 Open project: gwupe/Gwupe Class Usage Examples

Private Properties

Property Type Description
Elevate Gwupe.Agent.Components.ElevateToken
Elevate Gwupe.Agent.Components.ElevateToken
ExtractLog byte[]
SetupChangeLog void

Public Methods

Method Description
GenerateFaultReport ( ) : void
GwupeClientAppContext ( List options ) : System

This class should be created and passed into Application.Run( ... )

OnIdleChanged ( EventArgs e ) : void
RestartGwupeService ( ) : bool
Shutdown ( ) : void
SubmitFaultReport ( FaultReport report ) : void
Version ( int level = 1 ) : String
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Protected Methods

Method Description
ExitThreadCore ( ) : void

Private Methods

Method Description
Elevate ( ) : ElevateToken
Elevate ( String message ) : ElevateToken
ExtractLog ( string filename ) : byte[]
SetupChangeLog ( ) : void

Method Details

ExitThreadCore() protected method

protected ExitThreadCore ( ) : void
return void

GenerateFaultReport() public method

public GenerateFaultReport ( ) : void
return void

GwupeClientAppContext() public method

This class should be created and passed into Application.Run( ... )
public GwupeClientAppContext ( List options ) : System
options List
return System

OnIdleChanged() public method

public OnIdleChanged ( EventArgs e ) : void
e System.EventArgs
return void

RestartGwupeService() public method

public RestartGwupeService ( ) : bool
return bool

Shutdown() public method

public Shutdown ( ) : void
return void

SubmitFaultReport() public method

public SubmitFaultReport ( FaultReport report ) : void
report FaultReport
return void

Version() public method

public Version ( int level = 1 ) : String
level int
return String

WndProc() public method

public WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
hwnd System.IntPtr
msg int
wParam System.IntPtr
lParam System.IntPtr
handled bool
return System.IntPtr