RemoteFileActionEntity 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 subtype of ActionEntity that represents a remote file.
public ref class RemoteFileActionEntity 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 RemoteFileActionEntity 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 RemoteFileActionEntity : ActionEntity
Public NotInheritable Class RemoteFileActionEntity
Inherits ActionEntity
- Inheritance
- Attributes
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.CreateRemoteFileEntity.
This class has properties that represent values that are commonly used across different cloud providers. The implementation and behavior of these parameters will vary between providers. App action provider developers should consult the documentation for each supported cloud storage provider for usage information for these parameters.
Properties
AccountId |
Gets the identifier of the cloud service account associated with the remote file. |
ContentType |
Gets the MIME type of the remote file. |
DisplayInfo |
Gets an object that contains the display information for the ActionEntity. (Inherited from ActionEntity) |
DriveId |
Gets the identifier for the remote drive associated with the remote file. |
Extension |
Gets the extension of the remote file. |
FileId |
Gets the identifier of the remote file. |
FileKind |
Gets a value specifying the remote file kind. |
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) |
SourceId |
Gets the identifier of the cloud storage provider that hosts the remote file. |
SourceUri |
Gets the URI of the remote file. |
Methods
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) |