MetalamaAPI documentationFlashtrace APIFlashtraceIFlashtrace­Local­LoggerSet­Wait­Dependency
Open sandboxFocus

IFlashtraceLocalLogger.SetWaitDependency Method

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.

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

The waiting context.

System.Object waited

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