ConversationReferenceBuilder.WithLocale(String) Method

Definition

Sets the locale for the reference being built.

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

Parameters

locale
String

The locale identifier to assign to the reference. This should be a valid IETF language tag (for example, "en-US" or "fr-FR").

Returns

The current ConversationReferenceBuilder instance with the updated locale.

Applies to