ILogger.SetWaitDependency Method |
Sets the wait dependency for a given context, i.e. give information about what the given context is waiting (or awaiting) for.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
C#
void SetWaitDependency( ILoggingContext context, Object waited )
Parameters
- context
- Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext
The waiting context. - waited
- Type: System.Object
The "thing" that is awaited for. Typically a Task, or TaskInfo, or another context.