Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ASP.Net Webサービスのhttprequest実行タイムアウトは110秒(デフォルト値)です。処理時間が110秒を超えた場合に、カスタム例外をクライアントアプリにスローしたいと思います。これをどこでどのように処理しますか?
回避策がありますが、良い解決策ではありません。
Server.GetLastError();を使用して、Global.ASAXのApplication_Errorイベントで例外情報を取得できます。カスタム例外の送信に成功しませんでした。クライアント側の開発者に、SOAP xmlとして解析する前に、HTMLコンテンツをチェックするように依頼します。