Sdílet prostřednictvím


VCCodeModel.SynchronizeCancellable(String, String) Method

Definition

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

public:
 void SynchronizeCancellable(System::String ^ Caption, System::String ^ Message);
public:
 void SynchronizeCancellable(Platform::String ^ Caption, Platform::String ^ Message);
void SynchronizeCancellable(std::wstring const & Caption, std::wstring const & Message);
[System.Runtime.InteropServices.DispId(610)]
public void SynchronizeCancellable (string Caption, string Message);
[<System.Runtime.InteropServices.DispId(610)>]
abstract member SynchronizeCancellable : string * string -> unit
Public Sub SynchronizeCancellable (Caption As String, Message As String)

Parameters

Caption
String

Caption in the title bar of the dialog box.

Message
String

Message in the dialog box.

Attributes

Remarks

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.

Applies to