Not
Å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.
Provides methods that allow the host to specify policy actions to be taken in the event of failures and timeouts.
interface ICLRPolicyManager: IUnknown {
HRESULT SetActionOnFailure (
[in] EClrFailure failure,
[in] EPolicyAction action
);
HRESULT SetActionOnTimeout (
[in] EClrOperation operation,
[in] EPolicyAction action
);
HRESULT SetDefaultAction (
[in] EClrOperation operation,
[in] EPolicyAction action);
HRESULT SetTimeout (
[in] EClrOperation operation,
[in] DWORD dwMilliseconds
);
HRESULT SetTimeoutAndAction (
[in] EClrOperation operation,
[in] DWORD dwMilliseconds,
[in] EPolicyAction action
);
HRESULT SetUnhandledExceptionPolicy (
[in] EClrUnhandledException policy
);
}
Methods
Method |
Description |
|---|---|
Specifies the policy action the common language runtime (CLR) should take when the specified failure occurs. |
|
Specifies the policy action the CLR should take when the specified operation times out. |
|
Specifies the policy action the CLR should take when the specified operation occurs. |
|
Sets a timeout value for the specified operation. |
|
Sets a timeout value for the specified operation, and specifies the policy action the CLR should take when the operation occurs. |
|
Specifies the behavior of the CLR when an unhandled exception occurs. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0