protected internal virtual void RemoveFromExecution() { // remove reference in execution ExecutionEntity execution = GetExecution(); if (execution != null) { execution.RemoveEventSubscription(this); } }