Calling any method with Duplex Provider without connecting cause NullReferenceException
Closed this issue · 1 comments
MagicAndre1981 commented
Calling any method with Duplex Provider without connecting cause NullReferenceException . It would be better to check if connected and if not connected raise InvalidOperationException with Error message that you need to connect first.
MagicAndre1981 commented
ok, adding a ConnectionState would also help to prevent the issue