VCCodeModel::SynchronizeCancellable Method (String^, String^)

 

Displays a dialog box that has a progress bar. The user can cancel waiting and unblock the thread.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

void SynchronizeCancellable(
	String^ Caption,
	String^ Message
)

Parameters

Caption
Type: System::String^

Caption in the title bar of the dialog box.

Message
Type: System::String^

Message in the dialog box.

If a caller invokes this API while Browsing database is being populated, and there is a significant delay until population completes (for example, initial population of solution Browsing database), a dialog box that has a progress bar is displayed. The dialog box also lets users cancel the wait; the method exits, and the thread is unblocked.

Return to top
Show: