コード例 #1
0
 public int CreateOrUpdateMadLibInstance(string ticket, TransitMadLibInstance madlibinstance)
 {
     object[] results = this.Invoke("CreateOrUpdateMadLibInstance", new object[] {
         ticket,
         madlibinstance
     });
     return((int)(results[0]));
 }
コード例 #2
0
 /// <remarks/>
 public void CreateOrUpdateMadLibInstanceAsync(string ticket, TransitMadLibInstance madlibinstance, object userState)
 {
     if ((this.CreateOrUpdateMadLibInstanceOperationCompleted == null))
     {
         this.CreateOrUpdateMadLibInstanceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateMadLibInstanceOperationCompleted);
     }
     this.InvokeAsync("CreateOrUpdateMadLibInstance", new object[] {
         ticket,
         madlibinstance
     }, this.CreateOrUpdateMadLibInstanceOperationCompleted, userState);
 }
コード例 #3
0
 /// <remarks/>
 public void CreateOrUpdateMadLibInstanceAsync(string ticket, TransitMadLibInstance madlibinstance)
 {
     this.CreateOrUpdateMadLibInstanceAsync(ticket, madlibinstance, null);
 }