Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.82 KB

rpctryexcept.md

File metadata and controls

53 lines (35 loc) · 1.82 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
RpcTryExcept (Rpc.h)
The RpcTryExcept statement provides structured exception handling for RPC applications.
3addb367-4bdc-4c11-bf4d-b5b94da45b26
RpcTryExcept RPC
apiref
RpcTryExcept
Rpc.h
HeaderDef
reference
05/31/2018

RpcTryExcept

The RpcTryExcept statement provides structured exception handling for RPC applications. If any of the program statements in the RpcTryExcept cause an exception, the statements in the RpcExcept code block are executed. All RpcTryExcept statements must be terminated by the RpcEndExcept statement.

For more information, see RpcExcept.

Windows Vista and later versions of Windows: RpcExceptionFilter is recommended for structured exception handling for the most common exceptions as an alternative to custom filters with RpcExcept.

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

RpcExcept

RpcExceptionFilter

RpcTryFinally