Share via


accelerator_view_removed::accelerator_view_removed Constructor

Initializes a new instance of the accelerator_view_removed class.

explicit accelerator_view_removed(
   const char * _Message,
   HRESULT _View_removed_reason
) throw();

explicit accelerator_view_removed(
   HRESULT _View_removed_reason
) throw();

Parameters

  • _Message
    A description of the error.

  • _View_removed_reason
    An HRESULT error code indicating the cause of removal of the accelerator_view object.

Return Value

A new instance of the accelerator_view_removed class.

Requirements

Header: amprt.h

Namespace: Concurrency

See Also

Reference

accelerator_view_removed Class