แก้ไข

แชร์ผ่าน


WritingCompletedEventArgs(Boolean, Object, Exception) Constructor

Definition

Initializes a new instance of the WritingCompletedEventArgs class.

public:
 WritingCompletedEventArgs(bool cancelled, System::Object ^ state, Exception ^ exception);
public WritingCompletedEventArgs (bool cancelled, object state, Exception exception);
new System.Windows.Documents.Serialization.WritingCompletedEventArgs : bool * obj * Exception -> System.Windows.Documents.Serialization.WritingCompletedEventArgs
Public Sub New (cancelled As Boolean, state As Object, exception As Exception)

Parameters

cancelled
Boolean

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

state
Object

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

exception
Exception

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

Applies to