ThreadedWaitDialogHelper.Session Class

Visual Studio 2015
 

Offers two-way communication with a visible threaded wait dialog.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.Shell.ThreadedWaitDialogHelper.Session

public class Session : IDisposable

NameDescription
System_CAPS_pubpropertyProgress

Gets the < IProgress`1 instance to use for updating the progress of the operation that is reported to the user. If IProgress`1.Report`1 is invoked on the UI thread, this method will report progress and update the dialog immediately. If IProgress`1.Report`1 is invoked from another thread, the dialog will be updated asynchronously when JoinableTaskFactory.SwitchToMainThreadAsync can reach the UI thread.

System_CAPS_pubpropertyUserCancellationToken

Gets a token that is canceled when the user clicks the Cancel button in the threaded wait dialog.

NameDescription
System_CAPS_pubmethodDispose()

Closes the threaded wait dialog.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: