WritingCompletedEventArgs Constructor (Boolean, Object^, Exception^)

 
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 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: