Open Closed

How can I take return type of task on client side #1071


0
trisstan created

Hi,

I have a service method its return type is asynchrone. When I called this method from client side , I am taking casting error ([object object])but I can not handle it OnException method and there is no error detail on my hand. So can I use asynchrone returned type service method as an api method. if it is yes, How can I use it ?


2 Answer(s)
  • 0
    hikalkan created

    Sure, you can use it. Did you checked Logs in Logs folder? You can also try to make customErrors off in web.config to see the actual error.

  • 0
    trisstan created

    okay, thank you