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

中断序列化操作的异常(如果有)。

适用于