Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method causes this delegate object to call the event handler that is represented by this delegate object.
This method is called by Silverlight when an object raises an event.
Syntax
virtual HRESULT STDMETHODCALLTYPE Invoke(
IXRDependencyObject* pSender,
ArgType* EventArg
) = 0;
Parameters
- pSender
[in] IXRDependencyObject object that describes the source of the event.
- EventArg
[in] Structure derived from XREventArgs that contains data for the event that was raised by the object in pSender.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
If you use the CreateDelegate helper function to create a delegate, the IXRDelegate::Invoke method will call your event handler when the event is raised.
.NET Framework Equivalent
None.
Requirements
| Header | XRDelegate.h |
| sysgen | SYSGEN_XAML_RUNTIME |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |