VAF: priority on events

Hi,

I would like to set the priority on an event-handler in VAF, but only under certain conditions.

Now the eventhandler is initialized by an attribute, MFiles.VAF.Common.EventHandlerAttribute, and a priority can be set by default. I only see this priority-option on registrating VAF-methods via this attribute. So I'm not sure if a similar priority can be given, when working (the 'old'-way) with VB-scripts and event-handling? And do these affect one another?

I've been looking at the method MFiles.VAF.VaultApplicationBase.SetEventHandlers, that looks mosty to be suited to add VB-scripts for event-handling.

Is there a way I could inject event-handlers for C#/VAF-methods dynamically, and I can have influence on the priority of execution for the method?

Thanks in advance.

Kind regards,

Chris