Share via


Activity.AsTraceActivity Method

Definition

Returns this activity as an ITraceActivity object; or null, if this is not that type of activity.

public Microsoft.Bot.Schema.ITraceActivity AsTraceActivity ();
member this.AsTraceActivity : unit -> Microsoft.Bot.Schema.ITraceActivity
Public Function AsTraceActivity () As ITraceActivity

Returns

This activity as a trace activity; or null.

Applies to