Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 |