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)?
|
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!
|
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.
|