Soru Usage of DataCacheStoreException

  • 16 Nisan 2012 Pazartesi 18:44
     
     

    Hi there,

    I'm currently implementing a DataCacheStoreProvider.

    The store provider re-uses a component which throws an exception that signals a client to re-sync with the server.

    I would like to receive the same (or at least a custom exception) when calling the Get operation on the cache client.

    The article "Extend the DataCacheStoreProvider Class" (http://msdn.microsoft.com/en-us/library/hh361698.aspx)

    states out to throw a DataCacheStoreException in case of an error.

    Reading this I expected to receive the thrown DataCacheStoreException on the client side. Either direct or as the InnerException in the DataCacheException.

    But whatever I throw I only receive a DataCacheException where the InnerException is null.

    Maybe I am missing something?

    Thanks in advance!

    Kind Regards, Christian