MessagingCenter.Subscribe exceptions RRS feed

  • Question

  • User71165 posted

    Hello, What are the circumstances that would cause the following call to throw an exception?

    MessagingCenter.Subscribe<MyClass>(this, "testmessage", OnTestMessage);

    I'm getting "Index was outside the bounds of the array" on this and having a hard time understanding why? I would assume this is a threadsafe operation, but maybe not?

    Any insight into this would be appreciated. Thanks, Dean

    Thursday, March 3, 2016 6:35 PM

All replies

  • User400071 posted

    Any answer to above question?

    Monday, April 12, 2021 4:41 AM