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
'Déclaration
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.
- Message
Type: System.String
Message in 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.