WritingProgressChangedEventArgs Constructor (WritingProgressChangeLevel, Int32, Int32, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the WritingProgressChangedEventArgs class.

Namespace:   System.Windows.Documents.Serialization
Assembly:  PresentationFramework (in PresentationFramework.dll)

public WritingProgressChangedEventArgs(
	WritingProgressChangeLevel writingLevel,
	int number,
	int progressPercentage,
	object state
)

Parameters

writingLevel
Type: System.Windows.Documents.Serialization.WritingProgressChangeLevel

An enumeration value that specifies the scope of the progress changed event such as for an entire multiple document sequence, a single document, or a single page.

number
Type: System.Int32

Based on the scope defined by writingLevel, the number of documents or the number of pages that have been written.

progressPercentage
Type: System.Int32

The percentage of data that has been written.

state
Type: System.Object

The user-supplied object that identifies the write operation.

The user-supplied state parameter is the object passed to WriteAsync method that identifies the asynchronous write operation.

.NET Framework
Available since 3.0
Return to top
Show: