Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
StreamingTextActionEntity Class
Definition
- Namespace:
- Windows.AI.Actions
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 subtype of ActionEntity that enables incremental streaming text.
public ref class StreamingTextActionEntity sealed : ActionEntity
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StreamingTextActionEntity final : ActionEntity
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StreamingTextActionEntity : ActionEntity
Public NotInheritable Class StreamingTextActionEntity
Inherits ActionEntity
- Inheritance
- 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)
|
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) |
| IsComplete |
Gets a value that indicates whether the text provided by the StreamingTextActionEntity is complete. |
| Kind |
Gets a value specifying what kind of entity this ActionEntity is. (Inherited from ActionEntity) |
| TextFormat |
Gets the text format of the StreamingTextActionEntity. |
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) |
| GetText() |
Gets the current text content of the StreamingTextActionEntity. |
Events
| Name | Description |
|---|---|
| TextChanged |
Raised when the text content of a StreamingTextActionEntity has changed. |
Applies to
Feedback
Was this page helpful?
