ILogger.ExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For internal use only.
public System.Threading.Tasks.Task ExecuteAsync (string activityName, Func<System.Threading.Tasks.Task> action, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> additionalCustomProperties = default);
abstract member ExecuteAsync : string * Func<System.Threading.Tasks.Task> * seq<System.Collections.Generic.KeyValuePair<string, string>> -> System.Threading.Tasks.Task
Public Function ExecuteAsync (activityName As String, action As Func(Of Task), Optional additionalCustomProperties As IEnumerable(Of KeyValuePair(Of String, String)) = Nothing) As Task
Parameters
- activityName
- String
Name of the activity that gets logged in telemetry.
- additionalCustomProperties
- IEnumerable<KeyValuePair<String,String>>
Additional properties to be logged.