IVsFindCancelDialog.LaunchDialog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Launches a modeless dialog on the background thread with which the user can cancel a lengthy find or replace operation
public:
int LaunchDialog();
public:
int LaunchDialog();
int LaunchDialog();
public int LaunchDialog ();
abstract member LaunchDialog : unit -> int
Public Function LaunchDialog () As Integer
Returns
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.
Remarks
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.