EnteredBackgroundEventHandler EnteredBackgroundEventHandler EnteredBackgroundEventHandler EnteredBackgroundEventHandler EnteredBackgroundEventHandler Delegate

Definition

Represents a method that handles the entered background event.

public : delegate void EnteredBackgroundEventHandler(Platform::Object sender, IEnteredBackgroundEventArgs e)
struct EnteredBackgroundEventHandler : winrt::Windows::Foundation::IUnknown
{
   EnteredBackgroundEventHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> EnteredBackgroundEventHandler(L lambda);
   template <typename F> EnteredBackgroundEventHandler(F* function);
   template <typename O, typename M> EnteredBackgroundEventHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs const& e) const;
};
public delegate void EnteredBackgroundEventHandler(Object sender, IEnteredBackgroundEventArgs e)
Public Delegate Sub EnteredBackgroundEventHandler(sender As Object, e As IEnteredBackgroundEventArgs)
var enteredBackgroundEventHandler = function(sender, e) {

 /* Your code */

}

Parameters

sender
Object Object Object

The object that fired the event.

Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)