class Core::_detail::SessionStoppedDetails

Contains detailed information about why an error occurred.

Members

GetReason

Syntax: public inline TReason GetReason ( );

Gets the reason for the error.

Returns

FromResult

Syntax: public inline static std::shared_ptr< TDetails > FromResult ( std::shared_ptr< TResult > result );

Creates an instance of the correct ErrorDetails object from the event args.

Parameters

  • result The result that was canceled.

Returns

A shared pointer to CancellationDetails.