asp.net - WCF prevent debugger breaking at DataServiceException -
i throw unhandled dataserviceexceptions (they handled wcf automatically) homecoming status codes unauthorised access etc. how prevent visual studio breaking @ these unhandled exceptions?
if (!system.web.security.roles.isuserinrole("users")) { throw new dataserviceexception((int)httpstatuscode.unauthorized, "you not have access resource."); }
can add together debuggernonusercode attribute
or tell visual studio ignore exception type, in: how tell debugger ignore breaking on thrown exceptions?
asp.net wcf iis visual-studio-debugging
No comments:
Post a Comment