Open sandboxFocus

Method SetWaitDependency

SetWaitDependency(ILoggingContext, object)

Sets the wait dependency for a given context, i.e. give information about what the given context is waiting (or awaiting) for.

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

The waiting context.

object waited

The "thing" that is awaited for. Typically a Task, or TaskInfo, or another context.