TypedEventHandler<TSender, TResult> delegate

Represents a method that handles general events.

Syntax


var typedEventHandler = function(sender, args) {
 /* Your code */
}

Attributes

[Version(0x06020000)]

Parameters

sender

Type: TSender

The event source.

args

Type: TResult

The event data. If there is no event data, this parameter will be null.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft