IVsFindCancelDialog::LaunchDialog Method ()

 

Launches a modeless dialog on the background thread with which the user can cancel a lengthy find or replace operation

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int LaunchDialog()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code. Repeated calls to LaunchDialog close and re-launch the dialog rather than generating an error.

Launches a modeless dialog on the background thread with which the user can cancel a lengthy background find or replace operation.

The environment's implementation of the IVsFindCancelDialog interface is thread-aware, so you may use the LaunchDialog method without regard to whether your calling process is on the foreground or background thread.

Return to top
Show: