Class SessionErrorDelegate
Declaration
struct winrt::Microsoft::Azure::SpatialAnchors::SessionErrorDelegate
Description
Informs the application that an error occurred in a session.
Applications use this type when registering events.
For more information, see How to handle events using delegates in C++/WinRT.
Constructors
SessionErrorDelegate(std::nullptr_t = nullptr) noexcept;
template<typename L> SessionErrorDelegate(L lambda);
template<typename F> SessionErrorDelegate(F* function);
template<typename O, typename M> SessionErrorDelegate(O* object, M method);
Methods
void operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::Azure::SpatialAnchors::SessionErrorEventArgs const& args) const;
Parameters
sender
- The session that fired the event.args
- Information about the error.