共用方式為


XpsSerializationCompletedEventArgs(Boolean, Object, Exception) 建構函式

定義

初始化 XpsSerializationCompletedEventArgs 類別的新執行個體。

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

參數

canceled
Boolean

true 表示已在完成之前取消序列化,否則為 false

state
Object

使用者提供的物件,提供事件處理常式的其他資料。

exception
Exception

使序列化作業中斷的任何例外狀況 (Exception)。

適用於