를 사용하여 호출을 할 수 없습니다트위터가이 코드와 트위터에 트윗을 게시하는 것을 시도하고있는 Twitterizer 웹 사이트의 코드 예제를 사용하여 Twitterizer 실버/비동기
Dim asyncResult As IAsyncResult = TwitterStatusAsync.Update(
tokens.Tokens,
Tweet.Text,
Nothing,
Timeout,
Function(updateResponse)
If (updateResponse.Result = RequestResult.Success) Then
MessageBox.Show("Tweet Posted")
Else
MessageBox.Show("Error: " & updateResponse.ErrorMessage)
End If
End Function)
그러나 나는이 예외 얻고있다 :
을System.NotSupportedException이 (가) 사용자 코드 에 의해 처리되지 않았습니다. Message = 지정된 메소드가 지원되지 않습니다. 스택 트레이스 : myFire_Silverlight.TweetDialog.OKButton_Click에서 System.Func
4.BeginInvoke(T1 arg1, T2 arg2, T3 arg3, AsyncCallback callback, Object object) at Twitterizer.AsyncUtility.ExecuteAsyncMethod[TResponse,TProperties](OAuthTokens tokens, String s, TProperties properties, TimeSpan timeout, Func
4 methodToCall, myFire_Silverlight._twitter.Status_Post (mf_object_tweet 트윗 액션1 function) at Twitterizer.TwitterStatusAsync.Update(OAuthTokens tokens, String text, StatusUpdateOptions options, TimeSpan timeout, Action
1 기능) ) (개체 송신자 RoutedEventArgs E)에서 System.Windows.Controls 에서. System.Windows.Controls.Control.OnMouseLeftButtonUp에서 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp (MouseButtonEventArgs 전자) 에서 System.Windows.Controls.Button.OnClick() 에서 Primitives.ButtonBase.OnClick() (제어 ctrl, EventArgs e) at MS.Internal.JoltHelper.FireEvent (IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 플래그) InnerException :
무엇이 잘못 되었나요?