TypedTurnContext<T>.TraceActivityAsync 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.
public System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ResourceResponse> TraceActivityAsync(string name, object value = default, string valueType = default, string label = default, System.Threading.CancellationToken cancellationToken = default);
abstract member TraceActivityAsync : string * obj * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ResourceResponse>
override this.TraceActivityAsync : string * obj * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ResourceResponse>
Public Function TraceActivityAsync (name As String, Optional value As Object = Nothing, Optional valueType As String = Nothing, Optional label As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceResponse)
Parameters
- name
- String
- value
- Object
- valueType
- String
- label
- String
- cancellationToken
- CancellationToken