ArchiveProgressEventArgs Constructor (progressType, currentFileName, currentFileNumber, totalFiles, currentFileBytesProcessed, currentFileTotalBytes, currentArchiveName, currentArchiveNumber, totalArchives, currentArchiveBytesProcessed, currentArchiveTotalBytes, fileBytesProcessed, totalFileBytes)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ArchiveProgressEventArgs Constructor (progressType, currentFileName, currentFileNumber, totalFiles, currentFileBytesProcessed, currentFileTotalBytes, currentArchiveName, currentArchiveNumber, totalArchives, currentArchiveBytesProcessed, currentArchiveTotalBytes, fileBytesProcessed, totalFileBytes)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveProgressEventArgsArchiveProgressEventArgs(ArchiveProgressType, String, Int32, Int32, Int64, Int64, String, Int32, Int32, Int64, Int64, Int64, Int64)
Creates a new ArchiveProgressEventArgs object from specified event parameters.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ArchiveProgressEventArgs(
	ArchiveProgressType progressType,
	string currentFileName,
	int currentFileNumber,
	int totalFiles,
	long currentFileBytesProcessed,
	long currentFileTotalBytes,
	string currentArchiveName,
	int currentArchiveNumber,
	int totalArchives,
	long currentArchiveBytesProcessed,
	long currentArchiveTotalBytes,
	long fileBytesProcessed,
	long totalFileBytes
)
Public Sub New ( 
	progressType As ArchiveProgressType,
	currentFileName As String,
	currentFileNumber As Integer,
	totalFiles As Integer,
	currentFileBytesProcessed As Long,
	currentFileTotalBytes As Long,
	currentArchiveName As String,
	currentArchiveNumber As Integer,
	totalArchives As Integer,
	currentArchiveBytesProcessed As Long,
	currentArchiveTotalBytes As Long,
	fileBytesProcessed As Long,
	totalFileBytes As Long
)
public:
ArchiveProgressEventArgs(
	ArchiveProgressType progressType, 
	String^ currentFileName, 
	int currentFileNumber, 
	int totalFiles, 
	long long currentFileBytesProcessed, 
	long long currentFileTotalBytes, 
	String^ currentArchiveName, 
	int currentArchiveNumber, 
	int totalArchives, 
	long long currentArchiveBytesProcessed, 
	long long currentArchiveTotalBytes, 
	long long fileBytesProcessed, 
	long long totalFileBytes
)
new : 
        progressType : ArchiveProgressType * 
        currentFileName : string * 
        currentFileNumber : int * 
        totalFiles : int * 
        currentFileBytesProcessed : int64 * 
        currentFileTotalBytes : int64 * 
        currentArchiveName : string * 
        currentArchiveNumber : int * 
        totalArchives : int * 
        currentArchiveBytesProcessed : int64 * 
        currentArchiveTotalBytes : int64 * 
        fileBytesProcessed : int64 * 
        totalFileBytes : int64 -> ArchiveProgressEventArgs
Parameters
progressType (ArchiveProgressType)
type of status message
currentFileName (String)
name of the file being processed
currentFileNumber (Int32)
number of the current file being processed
totalFiles (Int32)
total number of files to be processed
currentFileBytesProcessed (Int64)
number of bytes processed so far when compressing or extracting a file
currentFileTotalBytes (Int64)
total number of bytes in the current file
currentArchiveName (String)
name of the current Archive
currentArchiveNumber (Int32)
current Archive number, when processing a chained set of Archives
totalArchives (Int32)
total number of Archives in a chained set
currentArchiveBytesProcessed (Int64)
number of compressed bytes processed so far during an extraction
currentArchiveTotalBytes (Int64)
total number of compressed bytes to be processed during an extraction
fileBytesProcessed (Int64)
number of uncompressed file bytes processed so far
totalFileBytes (Int64)
total number of uncompressed file bytes to be processed

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)