You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error message in the MessageDispatcher as below.
The interface 'IMessageHandler' cannot be used as type argument. Static member 'IMessageHandler.MessageType' does not have a most specific implementation in the interface.
I have tried below config
net7.0
enable
enable
preview
and also with net6.0 but still same error.
I am using the latest VS2022 as well.
The text was updated successfully, but these errors were encountered:
sboopal
changed the title
Error with IMessageHandler
Error with IMessageHandler in AmazonSQS
Apr 23, 2023
Hello, I'm facing the same issue, it seems that we can't use public static abstract Type MessageType { get; } in IMessageHandler interface. I tried everything he said on youtube, but none of that worked & i also tried more options, Help please. @Elfocrash
As he mentioned in the video that it is an experimental feature, I suspect that the final specification is different.
My solution was to leave it out and actually provide the dictionary manually as in the commented code.
Getting error message in the MessageDispatcher as below.
The interface 'IMessageHandler' cannot be used as type argument. Static member 'IMessageHandler.MessageType' does not have a most specific implementation in the interface.
I have tried below config
net7.0
enable
enable
preview
and also with net6.0 but still same error.
I am using the latest VS2022 as well.
The text was updated successfully, but these errors were encountered: