private static void UpdateDirectMessageSink(AccountInfo info, string target, string body) { var status = info.SendDirectMessage(target, body); if (status == null || status.Id == 0) throw new WebException("Timeout or failure sending tweet.", WebExceptionStatus.Timeout); TweetStorage.Register(status); NotifyStorage.Notify("DMを送信しました: @" + info.ScreenName + " -> @" + target + ": " + body); }