Method | Description | |
---|---|---|
AbortShutdown ( ) : void |
Abort a shutdown if it is not to late
|
|
CreateTask ( string parameters ) : void |
Create a shutdown command
|
|
Hibernate ( ) : void |
Hibernate the computer
|
|
IsActionPending ( ) : bool | ||
LockWorkStation ( ) : void |
Lock the workstation
|
|
LogOffUser ( ) : void |
Entry off the current user
|
|
QueueShutdown ( string parameters, ShutdownOptions options = ShutdownOptions.Abort, string message = null, int gracePeriod = -1 ) : void | ||
Restart ( string comment, Func |
||
Restart ( string comment, ShutdownOptions options = ShutdownOptions.Abort, string message = null, int seconds ) : void | ||
Shutdown ( string comment, Func |
||
Shutdown ( string comment, ShutdownOptions options = ShutdownOptions.Abort, string message = null, int seconds ) : void |
Method | Description | |
---|---|---|
DelayShutdown ( dynamic data ) : void | ||
ExecutePendingShutdown ( ) : void | ||
HelpShutdown ( dynamic data ) : void |
Called when a shutdown is requested via the Bus
|
|
ParseBus ( dynamic data ) : void | ||
Power ( ) : System | ||
ShouldAbort ( ) : bool | ||
TimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
public static CreateTask ( string parameters ) : void | ||
parameters | string | The parameters to use |
return | void |
public static QueueShutdown ( string parameters, ShutdownOptions options = ShutdownOptions.Abort, string message = null, int gracePeriod = -1 ) : void | ||
parameters | string | |
options | ShutdownOptions | |
message | string | |
gracePeriod | int | |
return | void |
public static Restart ( string comment, Func |
||
comment | string | |
abortCheckFunc | Func |
|
options | ShutdownOptions | |
message | string | |
seconds | int | |
return | void |
public static Restart ( string comment, ShutdownOptions options = ShutdownOptions.Abort, string message = null, int seconds ) : void | ||
comment | string | |
options | ShutdownOptions | |
message | string | |
seconds | int | |
return | void |
public static Shutdown ( string comment, Func |
||
comment | string | |
abortCheckFunc | Func |
|
options | ShutdownOptions | |
message | string | |
seconds | int | |
return | void |
public static Shutdown ( string comment, ShutdownOptions options = ShutdownOptions.Abort, string message = null, int seconds ) : void | ||
comment | string | |
options | ShutdownOptions | |
message | string | |
seconds | int | |
return | void |