ActivatedEventHandler ActivatedEventHandler ActivatedEventHandler ActivatedEventHandler Delegate

Definition

Represents a method that handles the app activation event.

public : delegate void ActivatedEventHandler(Platform::Object sender, IActivatedEventArgs eventArgs)
public delegate void ActivatedEventHandler(Object sender, IActivatedEventArgs eventArgs)
Public Delegate ActivatedEventHandler(sender As Object, eventArgs As IActivatedEventArgs)
var activatedEventHandler = function(sender, eventArgs) {

 /* Your code */

}
Parameters
sender
Platform::Object Object Object Object

The sender.

eventArgs
IActivatedEventArgs IActivatedEventArgs IActivatedEventArgs IActivatedEventArgs

The event information. The data type depends on why the app was activated. For a list of possible data types, see the ActivationKind enumeration.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

See Also