C# Class xenwinsvc.WmiBase

Show file Open project: xenserver/win-xenguestagent Class Usage Examples

Public Methods

Method Description
Check ( ) : bool
DebugMsg ( string message ) : void
DumpDebugMsg ( ) : void
GetChangeCount ( ) : int
GetListenerEvent ( string eventname ) : System.Management.ManagementEventWatcher
GetXenStoreSession ( string name ) : WmiSession
HandleManagementException ( System.Management.ManagementException manex ) : bool
Kick ( bool force = true ) : void
ListenForEvent ( string eventname, EventArrivedEventHandler handler ) : WmiListener
Reset ( ) : void
SetError ( string function ) : void
XenStoreChanged ( ) : void
getFirst ( System.Management.ManagementObjectCollection collection ) : System.Management.ManagementObject

Private Methods

Method Description
WmiBase ( ) : System
getBase ( ) : System.Management.ManagementObject
intCheck ( ) : bool

Method Details

Check() public static method

public static Check ( ) : bool
return bool

DebugMsg() public method

public DebugMsg ( string message ) : void
message string
return void

DumpDebugMsg() public method

public DumpDebugMsg ( ) : void
return void

GetChangeCount() public method

public GetChangeCount ( ) : int
return int

GetListenerEvent() public method

public GetListenerEvent ( string eventname ) : System.Management.ManagementEventWatcher
eventname string
return System.Management.ManagementEventWatcher

GetXenStoreSession() public method

public GetXenStoreSession ( string name ) : WmiSession
name string
return WmiSession

HandleManagementException() public static method

public static HandleManagementException ( System.Management.ManagementException manex ) : bool
manex System.Management.ManagementException
return bool

Kick() public method

public Kick ( bool force = true ) : void
force bool
return void

ListenForEvent() public method

public ListenForEvent ( string eventname, EventArrivedEventHandler handler ) : WmiListener
eventname string
handler EventArrivedEventHandler
return WmiListener

Reset() public static method

public static Reset ( ) : void
return void

SetError() public method

public SetError ( string function ) : void
function string
return void

XenStoreChanged() public method

public XenStoreChanged ( ) : void
return void

getFirst() public static method

public static getFirst ( System.Management.ManagementObjectCollection collection ) : System.Management.ManagementObject
collection System.Management.ManagementObjectCollection
return System.Management.ManagementObject