ActionEntityFactory 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.
A factory class that provides methods for instantiating different subclasses of ActionEntity and other utility classes.
[WebHostHidden]
public ref class ActionEntityFactory : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ActionEntityFactory : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ActionEntityFactory : System.IDisposable
Public Class ActionEntityFactory
Implements IDisposable
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
|
API contract |
Windows.AI.Actions.ActionsContract (introduced in v4.0)
|
Methods
Close() |
Closes and releases any resources used by this ActionEntityFactory. |
CreateContactEntity(Contact) | |
CreateDocumentEntity(String) |
Creates a new instance of DocumentActionEntity. |
CreateFileEntity(String) |
Creates a new instance of FileActionEntity. |
CreatePhotoEntity(String) |
Creates a new instance of PhotoActionEntity. |
CreateRemoteFileEntity(String, RemoteFileKind, Uri, String, String, String, String, String) |
Creates a new instance of RemoteFileActionEntity which enables actions to operate on files hosted by cloud storage providers. |
CreateStreamingTextActionEntityWriter(ActionEntityTextFormat) |
Creates a new instance of StreamingTextActionEntityWriter which supports the StreamingTextActionEntity class. |
CreateTableEntity(String[], UInt32) | |
CreateTextEntity(String, ActionEntityTextFormat) |
Creates a new instance of TextActionEntity with the specified text and text format. |
CreateTextEntity(String) |
Creates a new instance of TextActionEntity with the specified text. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |