Share via


WaitCursor Class

 

Represent a modal wait cursor loop.

Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.Advanced.WaitCursor

Syntax

public class WaitCursor
public ref class WaitCursor 
type WaitCursor = class end
Public Class WaitCursor

Constructors

Name Description
System_CAPS_pubmethod WaitCursor()

Initializes a new instance of the WaitCursor class.

Properties

Name Description
System_CAPS_pubproperty DialogResult

Gets or sets the DialogResult value to return if the wait cursor ends before timing out.

System_CAPS_pubproperty Timeout

Gets or sets the maximum time to show the wait cursor. It cannot exceed twenty seconds.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Exit()

Exits the wait cursor loop if it is executing.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnStart()

This is the override to initiate processing once the wait cursor loop begins.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent Start

This event is triggered on the snap-in thread when the wait cursor's modal loop is entered.

Thread Safety

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

See Also

Microsoft.ManagementConsole.Advanced Namespace

Return to top