Share via


IVsCommonMessagePump.SetWaitText(String) Method

Definition

Specifies the text for the default wait UI that explains the reason for the wait.

public:
 int SetWaitText(System::String ^ pszWaitText);
public:
 int SetWaitText(Platform::String ^ pszWaitText);
int SetWaitText(std::wstring const & pszWaitText);
public int SetWaitText (string pszWaitText);
abstract member SetWaitText : string -> int
Public Function SetWaitText (pszWaitText As String) As Integer

Parameters

pszWaitText
String

The optional title for the default wait UI. If nullL or the empty string, then the application name is used as the title.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to