Amnesia.SessionTracker.AsyncDependentActivityStarted C# (CSharp) Method

AsyncDependentActivityStarted() public method

Called by the thread executing the async activity
public AsyncDependentActivityStarted ( ActivityInfo parentActivity ) : void
parentActivity ActivityInfo
return void
        public void AsyncDependentActivityStarted(ActivityInfo parentActivity)
        {
            // Associate the new thread to the parent activity
            CurrentThreadActivity = parentActivity;
        }

Usage Example

Esempio n. 1
0
 public void Starting()
 {
     tracker.AsyncDependentActivityStarted(activity);
 }