各位大神:
我想问下.Net Core 2.1委托调用方法是报错,以下是保存信息和源码,求各位大神指导一下,没有用第三方框架。
System.PlatformNotSupportedException: Operation is not supported on this platform.
at Uwl.Common.LogsMethod.Log.dgWriteLog.BeginInvoke(Logs logs, AsyncCallback callback, Object object)
at Uwl.Common.LogsMethod.Log.Add(Logs logs) in F:\Project\Uwl.WebApi\I_Sfront.WebApi\Uwl.Common\LogsMethod\Log.cs:line 33
at Uwl.Common.LogsMethod.Log.Add(String Title, String Contents, Types types, String oldXML, String newXML) in F:\Project\Uwl.WebApi\I_Sfront.WebApi\Uwl.Common\LogsMethod\Log.cs:line 60
at Iview.WebApi.Controllers.AuthorizeController.Token(LoginViewModel loginViewModel) in F:\Project\Uwl.WebApi\I_Sfront.WebApi\Iview.WebApi\Controllers\AuthorizeController.cs:line 62
委托调用建议使用Func<>这个方法,更清晰呦