IVsThreadedWaitDialogFactory.CreateInstance(IVsThreadedWaitDialog2) 方法

定义

创建线程等待对话框的实例。

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

IVsThreadedWaitDialog2 接口。

返回

Int32

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

注解

此方法提供和的 IVsThreadedWaitDialog 实例 IVsThreadedWaitDialog2

适用于