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.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to