Partager via


IVsTaskEvents.OnMarkedAsBlocking Event

Raised when this task is marked as a blocking task for a wait on the main thread of Visual Studio.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaration
Event OnMarkedAsBlocking As EventHandler(Of BlockingTaskEventArgs)
event EventHandler<BlockingTaskEventArgs> OnMarkedAsBlocking
event EventHandler<BlockingTaskEventArgs^>^ OnMarkedAsBlocking {
    void add (EventHandler<BlockingTaskEventArgs^>^ value);
    void remove (EventHandler<BlockingTaskEventArgs^>^ value);
}
abstract OnMarkedAsBlocking : IEvent<EventHandler<BlockingTaskEventArgs>,
    BlockingTaskEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

IVsTaskEvents Interface

Microsoft.VisualStudio.Shell Namespace