Open sandboxFocus

Method SetWaitDependency

SetWaitDependency(ILoggingContext, object)

Sets the wait dependency of a given context, that is, the object that the context is waiting for.

Declaration
void SetWaitDependency(ILoggingContext context, object waited)
Parameters
Type Name Description
ILoggingContext context

The waiting context.

object waited

The object that the context is waiting for. Typically a Task, a TaskInfo, or another context.