1 out of 1 rated this helpful - Rate this topic

EventRegistrationToken structure

Represents a reference to a delegate that receives change notifications.

Syntax


var eventRegistrationToken = {
    value : /* Your value */
}

Attributes

VersionAttribute(NTDDI_WIN8)

Members

The EventRegistrationToken structure has these fields.

FieldData typeDescription
Value | value

Number [JavaScript] | int64 [C++]

The reference to the delegate.

 

Remarks

When building Windows Store apps with the Microsoft .NET Framework, this type is hidden and developers should use the System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken type.

In the event subscription model, a delegate registers to receive change notifications from a specified object such as a collection. The EventRegistrationToken is used to remove the delegate as a subscriber of change notifications when notifications are no longer needed.

Requirements

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

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.