FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
OnError - Catching an Exception in Atlas & Parameter List - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on .NET, Sql, ASP.NET, and other crazy shenanigans

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

OnError - Catching an Exception in Atlas & Parameter List

When I first saw Atlas, the one thing that stuck out as missing was the inability to catch an Exception.  I never saw an example on how to do it and when I asked about it, I didn't get any response.  Needless to say, I was really excited when Craig Shoemaker, of the Polymorphic Podcast, told me last week in an email that the ability was in Atlas Quickstarts.  Very nice in deedy.  Now, I can call a web service on the server like this:

..........
Sample.SampleServiceCall(param1, param2,...., paramN, OnComplete, OnTimeOut, OnError);
..........
function OnError(result)
{
//use result.get_message() to get the message returned.
//use result.get_stackTace() to get the stack trace.
}

Wally

Posted: Nov 14 2005, 08:21 AM by Wallym | with no comments
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)