Compartir a través de


IVsThreadedWaitDialogFactory.CreateInstance(IVsThreadedWaitDialog2) Method

Definition

Creates instances of threaded wait dialogs.

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 : IVsThreadedWaitDialog2 -> int
Public Function CreateInstance (ByRef ppIVsThreadedWaitDialog As IVsThreadedWaitDialog2) As Integer

Parameters

ppIVsThreadedWaitDialog
IVsThreadedWaitDialog2

The IVsThreadedWaitDialog2 interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is safe to access from any thread.

Applies to