ConversationReferenceBuilder.WithActivityId(String) Method

Definition

Sets the activity identifier for the reference being built.

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

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 ConversationReferenceBuilder instance with the updated activity identifier.

Applies to