ConversationBuilder.WithActivityId(String) Method

Definition

Sets the activity identifier for the reference being built.

public Microsoft.Agents.Builder.App.Proactive.ConversationBuilder WithActivityId(string activityId);
member this.WithActivityId : string -> Microsoft.Agents.Builder.App.Proactive.ConversationBuilder
Public Function WithActivityId (activityId As String) As ConversationBuilder

Parameters

activityId
String

The unique identifier to associate with the activity. Can be null or empty if no activity ID is required.

Returns

The current ConversationBuilder instance with the updated activity identifier.

Applies to