Partager via


runtime_exception::get_error_code Method

Returns the error code that caused the exception.

HRESULT get_error_code() const throw();

Return Value

The HRESULT of error that caused the exception.

Requirements

Header: amprt.h

Namespace: Concurrency

See Also

Reference

runtime_exception Class