System::ComponentModel::AsyncCompletedEventArgs::get_Error 方法

AsyncCompletedEventArgs::get_Error method

获取一个值,指示在异步操作期间发生了哪种错误。

const System::Exception & System::ComponentModel::AsyncCompletedEventArgs::get_Error() const

ReturnValue

如果在异步操作期间发生错误,则为 System.Exception 实例;否则为 null。

另见