Share via


UriActionEntity Class

Definition

A subtype of ActionEntity that represents a URI.

public ref class UriActionEntity sealed : ActionEntity
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 393216)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UriActionEntity final : ActionEntity
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 393216)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UriActionEntity : ActionEntity
Public NotInheritable Class UriActionEntity
Inherits ActionEntity
Inheritance
Object Platform::Object IInspectable ActionEntity UriActionEntity
Attributes

Windows requirements

Requirements Description
Device family
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
API contract
Windows.AI.Actions.ActionsContract (introduced in v8.0)

Remarks

Create an instance of this class by calling ActionEntityFactory.CreateUriEntity.

Actions can use a where clause in their input combination declaration to specify that they are able to operate on one or more Uri.Scheme values. For more information, see Action definition JSON schema for App Actions on Windows.

Properties

Name Description
DisplayInfo

Gets an object that contains the display information for the ActionEntity.

(Inherited from ActionEntity)
Id

Gets the unique identifier for the ActionEntity.

(Inherited from ActionEntity)
Kind

Gets a value specifying what kind of entity this ActionEntity is.

(Inherited from ActionEntity)
Uri

Gets the URI associated with the UriActionEntity.

Methods

Name Description
Close()

Closes and releases any resources used by this ActionEntity.

(Inherited from ActionEntity)
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ActionEntity)

Applies to