The RpcTryFinally statement provides structured termination handling. It an exception occurs during the execution statements of the code block associated with the RpcTryFinally statement, the statements in the code block associated with the RpcFinally statement are executed. All RpcTryFinally statements must be terminated by an RpcEndFinally statement.
For more information, see RpcFinally.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | Rpc.h |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
