Skip to content

Commit 24b0695

Browse files
Edits
1 parent 57b4a61 commit 24b0695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/storage/common/storage-use-data-movement-library.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ TransferOperation resumedTransfer = await transferManager.ResumeTransferAsync(tr
249249
```
250250

251251
> [!NOTE]
252-
> The location of the persisted transfer data is different than the default location if [TransferCheckpointStoreOptions](/dotnet/api/azure.storage.datamovement.transfercheckpointstoreoptions) is set as part of`TransferManagerOptions`. To resume transfers recorded with a custom checkpoint store, you must provide the same checkpoint store options for the `TransferManager` object that resumes the transfer.
252+
> The location of the persisted transfer data is different than the default location if [TransferCheckpointStoreOptions](/dotnet/api/azure.storage.datamovement.transfercheckpointstoreoptions) is set as part of `TransferManagerOptions`. To resume transfers recorded with a custom checkpoint store, you must provide the same checkpoint store options for the `TransferManager` object that resumes the transfer.
253253
254254
## Monitor transfer progress
255255

@@ -267,7 +267,7 @@ async Task CheckTransfersAsync(TransferManager transferManager)
267267
await foreach (TransferOperation transfer in transferManager.GetTransfersAsync())
268268
{
269269
using StreamWriter logStream = File.AppendText("path/to/log/file");
270-
logStream.WriteLine(Enum.GetName(typeof(TransferStatus), transfer.Status));
270+
logStream.WriteLine(Enum.GetName(typeof(TransferState), transfer.Status.State));
271271
}
272272
}
273273
```

0 commit comments

Comments
 (0)