An asynchronous method can return a Future object that allows the client to retrieve a result value, check for exceptions, or attempt to cancel an in-progress invocation.
一个异步方法能返回一个Future对象,该对象使得客户端可以获得一个结果值、检查异常或者尝试取消正在进行中的调用。
CancelRequest — This operation allows the ra to cancel the execution of a pending asynchronous request.
CancelRequest——该操作允许RA取消执行尚未执行的异步请求。
For a form that allows irreversible operations, such as deletions, it's a good idea to make the Cancel button the default command button.
对于允许进行不可逆操作(如删除)的窗体,最好将“取消”按钮设置为默认命令按钮。
应用推荐