WritingCompletedEventArgs Constructor (Boolean, Object, Exception)

 

Initializes a new instance of the WritingCompletedEventArgs class.

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

public WritingCompletedEventArgs(
	bool cancelled,
	object state,
	Exception exception
)

Parameters

cancelled
Type: System.Boolean

true if canceled; otherwise, false if the write operation completed normally.

state
Type: System.Object

The user-supplied state object that was passed to the WriteAsync method.

exception
Type: System.Exception

Error that occurred during the write operation or null if there is no error.

.NET Framework
Available since 3.0
Return to top
Show: