PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Logging­Context Class/Logging­Context Methods/Logging­Context.​Set­Wait­Dependency Method

LoggingContext.SetWaitDependency Method

Sets the wait dependency for the current context, i.e. sets a representation of what the current context is waiting for. This operation is available only in custom contexts.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public virtual void SetWaitDependency(
	Object waited
)

Parameters

waited
Type: System.Object
The "thing" being waited for (for instance a [!:Task] or a [!:TaskInfo]).
See Also