CreateConversationOptionsBuilder.WithTopicName(String) Method

Definition

Sets the topic name for the conversation being created.

public Microsoft.Agents.Builder.App.Proactive.CreateConversationOptionsBuilder WithTopicName(string topicName);
member this.WithTopicName : string -> Microsoft.Agents.Builder.App.Proactive.CreateConversationOptionsBuilder
Public Function WithTopicName (topicName As String) As CreateConversationOptionsBuilder

Parameters

topicName
String

The name of the topic to associate with the conversation. Ignored if null or empty.

Returns

The current instance of CreateConversationOptionsBuilder with the updated topic name.

Remarks

Use this method to specify a topic for the conversation before finalizing its creation. Calling this method multiple times will overwrite the previously set topic name.

Applies to