StreamingTextActionEntityWriter 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.
Provides APIs for streaming the text content of a StreamingTextActionEntity.
public ref class StreamingTextActionEntityWriter sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class StreamingTextActionEntityWriter final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class StreamingTextActionEntityWriter : System.IDisposable
Public NotInheritable Class StreamingTextActionEntityWriter
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)
|
Remarks
Create an instance of this class by calling ActionEntityFactory.CreateStreamingTextActionEntityWriter.
Properties
ReaderEntity |
Gets an instance of the StreamingTextActionEntity class that is used for reading the streaming text content written by calls to SetText |
TextFormat |
Gets the text format of the StreamingTextActionEntityWriter. |
Methods
Close() |
Closes and releases any resources used by this StreamingTextActionEntityWriter. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
SetText(String) |
Sets the current text of the associated StreamingTextActionEntity. |