PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Adapters.​Diagnostic­SourceIDiagnostic­Source­Activity­FilterOpen­Activity
Open sandboxFocus

IDiagnosticSourceActivityFilter.OpenActivity Method

OpenActivity(LogLevelSource, String, ref CallerInfo, Object)

Method called by DiagnosticSourceCollectingListener when a message suffixed .Start is captured. 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
System.String activityName
CallerInfo callerInfo

The output value is ignored.

Object message
Returns
Type Description
ILogActivity