Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WritingProgressChangedEventArgs Constructor (WritingProgressChangeLevel, Int32, Int32, Object^)

 

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:
© 2017 Microsoft