static void client_UploadStringCompleted(object sender, UploadStringCompletedEventArgs e) { if(e.Error != null) Event.WriteError("ProwlNotification", "An error occurred sending notification\r\n" + e.Error.Message); }