コード例 #1
0
 public void SayAsync(WpfClient.ServiceReference1.ChatMessage msg, object userState)
 {
     if ((this.onBeginSayDelegate == null))
     {
         this.onBeginSayDelegate = new BeginOperationDelegate(this.OnBeginSay);
     }
     if ((this.onEndSayDelegate == null))
     {
         this.onEndSayDelegate = new EndOperationDelegate(this.OnEndSay);
     }
     if ((this.onSayCompletedDelegate == null))
     {
         this.onSayCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSayCompleted);
     }
     base.InvokeAsync(this.onBeginSayDelegate, new object[] {
         msg
     }, this.onEndSayDelegate, this.onSayCompletedDelegate, userState);
 }
コード例 #2
0
 public void SayAsync(WpfClient.ServiceReference1.ChatMessage msg)
 {
     this.SayAsync(msg, null);
 }
コード例 #3
0
 public System.IAsyncResult BeginSay(WpfClient.ServiceReference1.ChatMessage msg, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginSay(msg, callback, asyncState));
 }
コード例 #4
0
 private System.IAsyncResult OnBeginSay(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     WpfClient.ServiceReference1.ChatMessage msg = ((WpfClient.ServiceReference1.ChatMessage)(inValues[0]));
     return(this.BeginSay(msg, callback, asyncState));
 }
コード例 #5
0
 public void Say(WpfClient.ServiceReference1.ChatMessage msg)
 {
     base.Channel.Say(msg);
 }