Language

AppTaskInfo.UpdateTitles(String, String) Method

Definition

Updates the title and subtitle of this task.

public:
 virtual void UpdateTitles(Platform::String ^ title, Platform::String ^ subtitle) = UpdateTitles;
/// [Windows.Foundation.Metadata.Experimental]
void UpdateTitles(winrt::hstring const& title, winrt::hstring const& subtitle);
[Windows.Foundation.Metadata.Experimental]
public void UpdateTitles(string title, string subtitle);
function updateTitles(title, subtitle)
Public Sub UpdateTitles (title As String, subtitle As String)

Parameters

title
String

Platform::String

winrt::hstring

The new title for the task. This value is required.

subtitle
String

Platform::String

winrt::hstring

The new subtitle for the task. Can be an empty string.

Attributes

Remarks

Use this method to update the task titles, for example, when an agent takes time to generate an appropriate name for a conversation.

Applies to