Export (0) Print
Expand All
Expand Minimize
2 out of 2 rated this helpful - Rate this topic

RpcRaiseException function

Use the RpcRaiseException function to raise an exception. The function does not return to the caller.

Syntax


void RPC_ENTRY RpcRaiseException(
  RPC_STATUS Exception
);

Parameters

Exception

Exception code for the exception.

Return value

This function does not return a value.

Note  For a list of valid error codes, see RPC Return Values.

Remarks

RpcRaiseException raises an exception. The exception handler can then handle the exception. For more information about handling exceptions, see Making RPC Function Calls.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

RpcAbnormalTermination
RpcExcept
RpcFinally

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.