PackageTransferWatcher Members

PackageTransferWatcher has the following members.

Public Properties

  Name Description
ChunkIds Contains the chunk IDs in the transfer.
TransferStatus The current transfer status.
TransferType The type of transfer taking place.

Public Methods

  Name Description
  Create Overloaded. Creates a new package transfer watcher.
  CreateForChunkSpecifiers Creates a package transfer watcher for the specified chunk specifiers.
  CreateForContentPackage Create a package transfer watcher for the specified content package.
  CreateForDownloadableContentPackage Creates a package transfer watcher for the specified downloadable content package.

Public Events

  Name Description
ChunkCompleted Triggered when a chunk has been transfered.
ProgressChanged Triggered when the progress of the transfer changes.
TransferCompleted Triggered when the transfer is complete.
TransferStatusChanged Indicates the transfer status has changed. For example, this event would be triggered when the transfer status changed from Running to Paused.

Remarks

Note that there are some system-defined chunks for which progress events will be triggered. Developer code should not make assumptions about the number of chunks in a package. Developer code should pay attention to the ChunkId specified in the ChunkCompletedEventArgs and be tolerant of ChunkIDs which were not specified in the packaging map file.

See also

Reference

PackageTransferWatcher Class

Windows.Xbox.Management.Deployment Namespace