Open sandboxFocus

Method OpenActivity

OpenActivity(LogLevelSource, string, ref CallerInfo, object)

This method is called by DiagnosticSourceCollectingListener when a message suffixed .Start is captured. The implementation should open an activity and return it.

Declaration
ILogActivity OpenActivity(LogLevelSource logSource, string activityName, ref CallerInfo callerInfo, object message)
Parameters
Type Name Description
LogLevelSource logSource

The log source of the activity.

string activityName

The name of the activity.

CallerInfo callerInfo

The output value is ignored.

object message

The message value.

Returns
Type Description
ILogActivity

The new activity.