Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called when the task agent is being shut down.
Syntax
HRESULT Terminate(
[in] HRESULT hr
);
Parameters
-
hr [in]
-
Indicates whether the shut down is due to a normal shut down or a failure. If the shut down is normal, this contains S_OK. Otherwise, it contains an HRESULT error code.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 7 Enterprise |
| Minimum supported server |
Windows Server 2008 R2 |