我为adfs MFA编写了一个自定义身份验证适配器。当我注册适配器时,它会注册到adfs中,但是在重新启动adfs服务后,我可以在日志中看到其初始化失败。浏览跟踪调试日志后,我发现此异常:
unexpected exception when write event with overflow: System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.IdentityServer.Diagnostics.MSISEventLog.InternalWriteEntry(EventLogEntryType eventType, MSISEventId eventId, Object[] os) at Microsoft.IdentityServer.Diagnostics.EventOverflow.WriteEventWithOverflow(WriteEventDelegate writeEvent, EventLogEntryType eventType, MSISEventId eventId, Object[] os
这里可能是什么问题?