Interface IPromotion
Interface for a server method which runs on the Life Cycle->Transition->* event
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public interface IPromotion
Remarks
For help deciding which interface to use for which type of method, see the remarks for IMethod
Methods
| Improve this Doc View SourceExecute(IPromotionContext)
Executes the server event.
Declaration
void Execute(IPromotionContext arg)
Parameters
Type | Name | Description |
---|---|---|
IPromotionContext | arg | The server context (server connection, context item, and other helper methods). |
Remarks
To respond to this method, throw an exception. An exception will only roll back the transaction when this is run on the Life Cycle->Transition->Pre event