Interface IBeforeAddUpdate
Interface for a server method which runs on the Item->onBeforeAdd or Item->onBeforeUpdate events
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public interface IBeforeAddUpdate
Remarks
For help deciding which interface to use for which type of method, see the remarks for IMethod
Methods
| Improve this Doc View SourceExecute(IValidationContext)
Executes the server event.
Declaration
void Execute(IValidationContext arg)
Parameters
Type | Name | Description |
---|---|---|
IValidationContext | arg | The server context (server connection, context item, and other helper methods). |
Remarks
To respond to this method, either modify the Item or use the ErrorBuilder to create an exception which will be returned