UtilPowerAbortShutdown Method
Aborts a system shutdown operation that has been initiated (unless a LogOff).
Namespace: DevCase.Core.IO.Devices.PowerAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool AbortShutdown(
string computer = "",
bool ignoreErrors = true
)
Public Shared Function AbortShutdown (
Optional computer As String = "",
Optional ignoreErrors As Boolean = true
) As Boolean
Dim computer As String
Dim ignoreErrors As Boolean
Dim returnValue As Boolean
returnValue = UtilPower.AbortShutdown(computer,
ignoreErrors)
public:
static bool AbortShutdown(
String^ computer = L"",
bool ignoreErrors = true
)
static member AbortShutdown :
?computer : string *
?ignoreErrors : bool
(* Defaults:
let _computer = defaultArg computer ""
let _ignoreErrors = defaultArg ignoreErrors true
*)
-> bool
No code example is currently available or this language may not be supported.
- computer String (Optional)
-
The network name of the computer where the shutdown is to be stopped.
If this parameter is an empty string, the function aborts the shutdown on the local computer.
- ignoreErrors Boolean (Optional)
-
If , a Win32Exception exception will be thrown if error found.
Boolean if the function succeeds,
otherwise.