IHostPolicyManager Interface
Provides methods that notify the host of the actions the common language runtime (CLR) performs in case of aborts, timeouts, or failures.
Methods
Method | Description |
---|---|
OnDefaultAction Method | Notifies the host that the CLR is about to take the default action specified by a call to ICLRPolicyManager::SetDefaultAction in response to a thread abort or AppDomain unload. |
OnFailure Method | Notifies the host that the CLR is about to take the action specified by a call to ICLRPolicyManager::SetActionOnFailure in response to a resource allocation or reclamation failure. |
OnTimeout Method | Notifies the host that the CLR is about to take the action specified by a call to ICLRPolicyManager::SetActionOnTimeout in response to a timeout. |
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Tagasiside
https://aka.ms/ContentUserFeedback.
Varsti tulekul: 2024. aasta jooksul tühistame GitHubi probleemide funktsiooni sisutagasiside mehhanismina ja asendame selle uue tagasisidesüsteemiga. Lisateabe saamiseks vtEsita ja vaata tagasisidet