CommonMessagePump.IVsCommonMessagePump.SetWaitTitle(String) 方法

定义

设置具有指定标题的 "等待" 对话框的标题。

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetWaitTitle(System::String ^ waitTitle) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetWaitTitle;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetWaitTitle(Platform::String ^ waitTitle) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetWaitTitle;
int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetWaitTitle(std::wstring const & waitTitle);
int IVsCommonMessagePump.SetWaitTitle (string waitTitle);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetWaitTitle : string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetWaitTitle : string -> int
Function SetWaitTitle (waitTitle As String) As Integer Implements IVsCommonMessagePump.SetWaitTitle

参数

waitTitle
String

标题。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

这可以在调用 ModalWaitForHandles 之前或在 ModalWaitForHandlesWithClient 中的某个回调期间设置。

适用于