Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

ExternalEventHandler parameters - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
DMacy
#1 Posted : Thursday, January 8, 2015 2:22:23 PM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
Is there a way to pass an object in to an ExternalEventHandler (my own data that I want to use in the handler)?
Jim
#2 Posted : Thursday, January 8, 2015 2:41:38 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
From where would you pass it? Do you mean, if you're indexing programmatically, can you get your object from the programmatic indexer code to the ExternalEventHandler? I believe you could do that using a static (shared) field. The ExternalEventHandler should run in the same appdomain as the indexer code and therefore have access to the same static fields.



-your feedback is helpful to other users, thank you!

-your feedback is helpful to other users, thank you!


DMacy
#3 Posted : Thursday, January 8, 2015 6:54:29 PM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
Thanks! I was able to use a static (shared) field to accomplish what I needed.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.