Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IEventHandler<T>::Invoke method

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

Syntax


HRESULT Invoke(
  [in]  IInspectable *sender,
  [in]  T args
);

Parameters

sender [in]

The event source.

args [in]

The event data.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h

See also

IEventHandler<T>

 

 

Community Additions

Show:
© 2014 Microsoft