WaitCursor Class
Provides a convenience class for displaying a wait cursor (typically an hourglass shape) during a lengthy operation.
Assembly: Microsoft.Web.Management (in Microsoft.Web.Management.dll)
| Name | Description | |
|---|---|---|
![]() | WaitCursor() | Initializes a new instance of the WaitCursor class. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the WaitCursor class. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
You should define the scope of a lengthy operation with the using statement so the default cursor will be automatically restored when the operation is complete.
The following example displays a WaitCursor object while the user settings are saved.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
