IVsThreadedWaitDialogFactory.CreateInstance(IVsThreadedWaitDialog2) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建线程等待对话框的实例。
public:
int CreateInstance([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialog2 ^ % ppIVsThreadedWaitDialog);
public:
int CreateInstance([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialog2 ^ & ppIVsThreadedWaitDialog);
int CreateInstance([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialog2 const & & ppIVsThreadedWaitDialog);
public int CreateInstance (out Microsoft.VisualStudio.Shell.Interop.IVsThreadedWaitDialog2 ppIVsThreadedWaitDialog);
abstract member CreateInstance : -> int
Public Function CreateInstance (ByRef ppIVsThreadedWaitDialog As IVsThreadedWaitDialog2) As Integer
参数
- ppIVsThreadedWaitDialog
- IVsThreadedWaitDialog2
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
此方法提供和的 IVsThreadedWaitDialog 实例 IVsThreadedWaitDialog2 。