TaskDialogIcon Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class TaskDialogIcon : IDisposable
public class TaskDialogIcon : IDisposable
type TaskDialogIcon = class
interface IDisposable
Public Class TaskDialogIcon
Implements IDisposable
- Inheritance
-
TaskDialogIcon
- Implements
The task dialog currently supports two icon types: Standard icons that are stored in static fields of class TaskDialogIcon, and custom icons created from an Icon instance (or an icon handle).
Some standard icons play a typical system sound when used as the main icon of the task dialog.
Note that while a task dialog is shown, you can only update an icon if the new icon is of the same type (standard icon or custom icon) as the previous one.
Task |
Initializes a new instance of the TaskDialogIcon class from an Bitmap instance. |
Task |
Initializes a new instance of the TaskDialogIcon class from an Icon instance. |
Task |
Initializes a new instance of the TaskDialogIcon class from an icon handle. |
Error |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of white X in a circle with a red background. |
Information |
Gets a standard TaskDialogIcon instance where the task dialog contains a symbol consisting of a lowercase letter i in a circle. |
None |
Gets a standard TaskDialogIcon instance where the task dialog does not display an icon. |
Shield |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of an user account control (UAC) shield. |
Shield |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of an user account control (UAC) shield and shows a blue bar around the icon. |
Shield |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of white X in a red shield and shows a red bar around the icon. |
Shield |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of an user account control (UAC) shield and shows a gray bar around the icon. |
Shield |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of white tick in a green shield and shows a green bar around the icon. |
Shield |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of an exclamation point in a yellow shield and shows a yellow bar around the icon. |
Warning |
Gets a standard TaskDialogIcon instance where the task dialog contains an icon consisting of an exclamation point in a triangle with a yellow background. |
Icon |
The icon handle ( |
Dispose() |
Releases all resources used by this TaskDialogIcon. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
Windows Desktop | 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: