IVsCommonMessagePump.SetWaitText 方法

对于解释等待原因的默认等待 UI 指定文本。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:   Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
  Microsoft.VisualStudio.Shell.Interop.10.0(在 Microsoft.VisualStudio.Shell.Interop.10.0.dll 中)

语法

声明
Function SetWaitText ( _
    pszWaitText As String _
) As Integer
int SetWaitText(
    string pszWaitText
)

参数

  • pszWaitText
    类型:System.String
    默认等待的用户界面前缀。如果 nullL 或为空字符串,应用程序名称然后使用作为前缀。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

.NET Framework 安全性

请参见

参考

IVsCommonMessagePump 接口

Microsoft.VisualStudio.Shell.Interop 命名空间