Σημείωση
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να συνδεθείτε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
Provides methods that allow the host to specify policy actions to be taken in the event of failures and timeouts.
Methods
| Method | Description |
|---|---|
| SetActionOnFailure Method | Specifies the policy action the common language runtime (CLR) should take when the specified failure occurs. |
| SetActionOnTimeout Method | Specifies the policy action the CLR should take when the specified operation times out. |
| SetDefaultAction Method | Specifies the policy action the CLR should take when the specified operation occurs. |
| SetTimeout Method | Sets a timeout value for the specified operation. |
| SetTimeoutAndAction Method | Sets a timeout value for the specified operation, and specifies the policy action the CLR should take when the operation occurs. |
| SetUnhandledExceptionPolicy Method | Specifies the behavior of the CLR when an unhandled exception occurs. |
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
Συνεργαστείτε μαζί μας στο GitHub
Η πηγή για αυτό το περιεχόμενο βρίσκεται στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να ελέγξετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεισφερόντων.