/// <remarks/> public void CreateOrUpdateCounterAsync(string ticket, TransitCounter counter) { this.CreateOrUpdateCounterAsync(ticket, counter, null); }
/// <remarks/> public void CreateOrUpdateCounterAsync(string ticket, TransitCounter counter, object userState) { if ((this.CreateOrUpdateCounterOperationCompleted == null)) { this.CreateOrUpdateCounterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateCounterOperationCompleted); } this.InvokeAsync("CreateOrUpdateCounter", new object[] { ticket, counter}, this.CreateOrUpdateCounterOperationCompleted, userState); }
public int CreateOrUpdateCounter(string ticket, TransitCounter counter) { object[] results = this.Invoke("CreateOrUpdateCounter", new object[] { ticket, counter}); return ((int)(results[0])); }