WritingCompletedEventArgs(Boolean, Object, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา