PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logger Class / Logger Methods / Logger.​Open­Async­Activity Method / Logger.​Open­Async­Activity(T1, T2, T3, T4, T5, T6, T7, T8) Method (Log­Activity­Options, String, T1, T2, T3, T4, T5, T6, T7, T8, Caller­Info)

Logger.OpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8> Method (LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public LogActivity OpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8>(
	LogActivityOptions options,
	string text,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4,
	T5 arg5,
	T6 arg6,
	T7 arg7,
	T8 arg8,
	ref CallerInfo callerInfo
)

Parameters

options
Type: PostSharp.Patterns.Diagnostics.LogActivityOptions
text
Type: System.String
arg1
Type: T1
arg2
Type: T2
arg3
Type: T3
arg4
Type: T4
arg5
Type: T5
arg6
Type: T6
arg7
Type: T7
arg8
Type: T8
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo

Type Parameters

T1
T2
T3
T4
T5
T6
T7
T8

Return Value

Type: LogActivity
See Also