Поделиться через


IEventHandler<T> interface

Represents the method that will handle an event that has event data of type T.

Template parameters

  • T
    The type that encapsulates data from the event.

Members

The IEventHandler<T> interface inherits from the IUnknown interface. IEventHandler also has these types of members:

  • Methods

Methods

The IEventHandler<T> interface has these methods.

Method Description
Invoke

Invokes the method that handles an event with event data of type T.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.foundation.collections.h

IDL

Windows.foundation.collections.idl

See also

ITypedEventHandler