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 | |
---|---|---|
WaitCursor() | Initializes a new instance of the WaitCursor class. |
Properties
Name | Description | |
---|---|---|
DialogResult | Gets or sets the DialogResult value to return if the wait cursor ends before timing out. |
|
Timeout | Gets or sets the maximum time to show the wait cursor. It cannot exceed twenty seconds. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Exit() | Exits the wait cursor loop if it is executing. |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnStart() | This is the override to initiate processing once the wait cursor loop begins. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
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