PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsSync­Custom­Activity­Logging­ContextSet­Wait­Dependency
Open sandboxFocus

SyncCustomActivityLoggingContext.SetWaitDependency Method

SetWaitDependency(Object)

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.

Declaration
public override void SetWaitDependency(object waited)
Parameters
Type Name Description
Object waited

The "thing" being waited for (for instance a System.Threading.Tasks.Task or a TaskInfo).

Overrides
LoggingContext.SetWaitDependency(Object)