My Task
have to work for a long time (it's like a service) - so I need to make it LongRunning
.
At the same time, I need to mark it as AttachedToParent
to prevent parent task completion before my service's task completion.
How to combine this two task creation options?