Class SystemRestoreFileParams
Transaction parameters for administratively restoring a previously deleted file.
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed class SystemRestoreFileParams : TransactionParams<TransactionReceipt>
Examples
Undo a previous SystemDeleteFileParams within the network's grace window:
// Undo a previous SystemDeleteFileAsync within the grace window.
var receipt = await client.SystemRestoreFileAsync(new SystemRestoreFileParams
{
File = file
});
Console.WriteLine($"System restore status: {receipt.Status}");
Properties
| Edit this page View SourceCancellationToken
An optional cancellation token that can be used to interrupt the transaction.
Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken? |
File
The address of the file to restore.
Declaration
public EntityId File { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Signatory
Optional additional signatories.
Declaration
public Signatory? Signatory { get; set; }
Property Value
| Type | Description |
|---|---|
| Signatory |