TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Uday Gaikwad
NA
680
196.5k
Which is the proper way to logging an exception in silverlight.?
Jun 27 2010 7:16 AM
I want to log an exception in silverlight application. So I have created the My framework for excption logginn on server side and i m logging an errors using WCF method. I have seen an artilcle in which they have given an procdure for exception logging in silverlight that is below
private void btnClick_Open(object sender, RoutedEventArgs e)
{
try
{
//Code.......
}
catch(Exception ex)
{
//Calling exception logging from catch block.
webService.LogExceptionAsync(ex.message);
webService.LogExceptionCompleted+=new EventHandler<LogExceptionCompletedEventArgs>(webService.LogExceptionCompleted);
}
}
public void webService_LogExceptionCompleted(object sender, LogExceptionCompletedEventArgs e)
{
e.Handle = true;
}
Is this the proper way to log an exception or is there another standerd way to log an erros..?
Reply
Answers (
3
)
multiple times event calling on button click.
How can I get real XAP file from this project?