CommonMessagePump.IVsCommonMessagePump.SetWaitTitle(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置具有指定标题的 "等待" 对话框的标题。
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
标题。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
实现
注解
这可以在调用 ModalWaitForHandles 之前或在 ModalWaitForHandlesWithClient 中的某个回调期间设置。