Azure Functions v2引发异常System.AccessViolationException

时间:2018-06-20 09:55:00

标签: function azure

我使用时间触发器创建了新的vs2017 C#Azure Functions v2(.NET Core)项目。

当我尝试运行它时,出现异常:

namespace Microsoft.Azure.WebJobs.Script.Rpc
internal class JobObjectRegistry : IDisposable, IProcessRegistry
{
    public JobObjectRegistry
    {       
        // this line throws exception
        _handle = CreateJobObject(IntPtr.Zero, null); 

System.AccessViolationException: 
'Attempted to read or write protected memory. 
This is often an indication that other memory is corrupt.'

缺少什么?

已安装vs2017版本15.7.4,Storage Emulator UI正在运行。

0 个答案:

没有答案