WindowsActionAttribute Class
Definition
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.
Indicates that a method implements an App Actions on Windows.
[System.AttributeUsage(System.AttributeTargets.Method, Inherited=false)]
[System.Runtime.CompilerServices.Nullable(0)]
public class WindowsActionAttribute : Attribute
function WindowsActionAttribute()
Public Class WindowsActionAttribute
Inherits Attribute
- Inheritance
-
WindowsActionAttribute
- Attributes
Remarks
The properties of this class map to the properties of an action that are defined in the Action definition JSON schema for App Actions on Windows.
Constructors
| WindowsActionAttribute() |
Initializes a new instance of WindowsActionAttribute. |
Properties
| ContentAgeRating |
Gets or initializes a value specifying the appropriate age rating for the action. |
| Description |
Gets or initializes the description of the action. |
| DisplaysUI |
Gets or initializes a value that indicates whether the action displays UI. |
| FeedbackHandler |
Gets the feedback handler URI. |
| Icon |
Gets or initializes the localizable icon for the action. |
| Id |
Gets or initializes the identifier for the action. |
| IsAvailable |
Gets or initializes a Boolean value specifying whether the action is available for use upon installation. The default value is true. |
| NegativeFeedbackUri |
Gets or initializes the URI for negative user feedback. |
| PositiveFeedbackUri |
Gets or initializes the URI for positive user feedback. |
| UsesGenerativeAI |
Gets or initializes a Boolean value specifying whether the action uses generative AI. The default value is false. |