想要在asp.net中显示有关方法执行的信息

时间:2017-12-11 09:38:06

标签: c# asp.net ajax

我的ASP.NET(2015)应用程序的按钮单击事件有5个方法,每个方法都需要很长时间才能完成。我想向用户显示有关每个方法执行的信息,比如method1已完成,而method2开始像这样运行...

Building in workspace /var/lib/jenkins/workspace/jenkins
[jenkins] $ /usr/share/maven/bin/mvn -f /home/tes/pom.xml clean test
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project  (/home/tes/pom.xml) has 1 error
[ERROR]     Non-readable POM /home/tes/pom.xml: /home/tes/pom.xml (Permission denied)
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

在我的屏幕上,当我点击按钮时,它只显示最后一条消息,但我想显示我在上面代码中的lbl.Text中提到的信息

任何人都可以帮助我实现这一目标。

谢谢, 列宁

0 个答案:

没有答案