RpcRaiseException function (rpcdce.h)
Use the RpcRaiseException function to raise an exception. The function does not return to the caller.
C++
void RpcRaiseException(
RPC_STATUS exception
);
exception
Exception code for the exception.
This function does not return a value.
Note For a list of valid error codes, see
RPC Return Values.
RpcRaiseException raises an exception. The exception handler can then handle the exception. For more information about handling exceptions, see Making RPC Function Calls.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | rpcdce.h (include Rpc.h) |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |