Delen via


VCCodeModel.SynchronizeCancellable Method

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)

Syntax

'Declaration
Sub SynchronizeCancellable ( _
    Caption As String, _
    Message As String _
)
void SynchronizeCancellable(
    string Caption,
    string Message
)
void SynchronizeCancellable(
    [InAttribute] String^ Caption, 
    [InAttribute] String^ Message
)
abstract SynchronizeCancellable : 
        Caption:string * 
        Message:string -> unit
function SynchronizeCancellable(
    Caption : String, 
    Message : String
)

Parameters

  • Caption
    Type: System.String

    Caption in the title bar of the dialog box.

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.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Project and Solution Files