コード例 #1
0
ファイル: Form1.cs プロジェクト: sonicos/RedHopSharp
 private void Form1_Load(object sender, EventArgs e)
 {
     try
     {
         test();
     }
     catch  (Exception g)
     {
         HoptoadClient client = new HoptoadClient();
         MessageBox.Show(client.Send(g));
     }
 }
コード例 #2
0
ファイル: Extension.cs プロジェクト: sonicos/RedHopSharp
 public static void SendToHoptoad(this Exception exception)
 {
     HoptoadClient client = new HoptoadClient();
     client.Send(exception);
 }
コード例 #3
0
ファイル: Extension.cs プロジェクト: sonicos/RedHopSharp
 public static void SendToHoptoad(this Exception exception,  HttpApplication app )
 {
     HoptoadClient client = new HoptoadClient();
     client.Send(exception, app);
 }