/// <remarks/> public void CreateOrUpdateAccountFlagAsync(string ticket, TransitAccountFlag flag) { this.CreateOrUpdateAccountFlagAsync(ticket, flag, null); }
/// <remarks/> public void CreateOrUpdateAccountFlagAsync(string ticket, TransitAccountFlag flag, object userState) { if ((this.CreateOrUpdateAccountFlagOperationCompleted == null)) { this.CreateOrUpdateAccountFlagOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateAccountFlagOperationCompleted); } this.InvokeAsync("CreateOrUpdateAccountFlag", new object[] { ticket, flag}, this.CreateOrUpdateAccountFlagOperationCompleted, userState); }
public int CreateOrUpdateAccountFlag(string ticket, TransitAccountFlag flag) { object[] results = this.Invoke("CreateOrUpdateAccountFlag", new object[] { ticket, flag}); return ((int)(results[0])); }