ILogger.Execute Method

Definition

For internal use only.

public void Execute (string activityName, Action action, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> additionalCustomProperties = default);
abstract member Execute : string * Action * seq<System.Collections.Generic.KeyValuePair<string, string>> -> unit
Public Sub Execute (activityName As String, action As Action, Optional additionalCustomProperties As IEnumerable(Of KeyValuePair(Of String, String)) = Nothing)

Parameters

activityName
String

Name of the activity that gets logged in telemetry.

action
Action

Action to be performed.

additionalCustomProperties
IEnumerable<KeyValuePair<String,String>>

Additional properties to be logged.

Applies to