इसके माध्यम से साझा किया गया


Activity.CreateTraceActivity(String, String, Object, String) Method

Definition

Creates an instance of the Activity class as an ITraceActivity object.

public static Microsoft.Bot.Schema.ITraceActivity CreateTraceActivity (string name, string valueType = default, object value = default, string label = default);
static member CreateTraceActivity : string * string * obj * string -> Microsoft.Bot.Schema.ITraceActivity
Public Shared Function CreateTraceActivity (name As String, Optional valueType As String = Nothing, Optional value As Object = Nothing, Optional label As String = Nothing) As ITraceActivity

Parameters

name
String

The name of the trace operation to create.

valueType
String

Optional, identifier for the format of the value. Default is the name of type of the value.

value
Object

Optional, the content for this trace operation.

label
String

Optional, a descriptive label for this trace operation.

Returns

The new trace activity.

Applies to