-3
我想發佈鳴叫與TweetSharp庫,但StackOverflowException
引發。我無法解決這個問題。我該怎麼辦?在此行中出現的錯誤:發佈推文C#
servis.SendTweet(new SendTweetOptions { Status = textBox1.Text });
我想發佈鳴叫與TweetSharp庫,但StackOverflowException
引發。我無法解決這個問題。我該怎麼辦?在此行中出現的錯誤:發佈推文C#
servis.SendTweet(new SendTweetOptions { Status = textBox1.Text });
打破它,並在調試步(把一個破發點上string status = ...
線):
// if you don't get this far, the problem is elsewhere
// if it fails here, the problem is accessing the textbox value
string status = textBox1.Text;
// if it fails here, the problem is inside the tweetsharp library,
// and should be referred to the library authors, but indicating which
// step fails (constructor vs Status property vs Send method)
var msg = new SendTweetOptions();
msg.Status = status;
servis.SendTweet(msg);
顯示更多你的代碼,請。 – Ksv3n
^相關代碼。 – Sayse