Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在升级部署的情况下,是否从 WebRole.cs 调用 OnStart?
http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.serviceruntime.roleentrypoint.onstart.aspx
是的,我相信它会在每次重新启动时运行。当计算机由 Microsoft 重新启动、重新映像或升级时,OnStart 将运行。