re[mapguide-users] sourceservice.resourceexist

David Hequet david.hequet at free.fr
Tue Aug 5 06:11:33 EDT 2008


Hi,

I'm using MapGuide 2.0.1 with C#.
The Api method ResourceExist return a "not yet implemented" error.

So i made my own "resourcexist", method using 
ResourceService.GetResourceContent(resId) with an error handling.
like this:

try
   resourceService.getResourcecontent(resid)
   return true
catch
   return false

It works but i think it's not good for server's health to provoc errors (as
they are logged, it fill up the log..). Do you have a better idea about
making a resourceExist method?

Thank you,
David
-- 
View this message in context: http://www.nabble.com/resourceservice.resourceexist-tp18828199p18828199.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list