/// <remarks/> public void CreateOrUpdateAttributeAsync(string ticket, TransitAttribute attr) { this.CreateOrUpdateAttributeAsync(ticket, attr, null); }
/// <remarks/> public void CreateOrUpdateAttributeAsync(string ticket, TransitAttribute attr, object userState) { if ((this.CreateOrUpdateAttributeOperationCompleted == null)) { this.CreateOrUpdateAttributeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateAttributeOperationCompleted); } this.InvokeAsync("CreateOrUpdateAttribute", new object[] { ticket, attr}, this.CreateOrUpdateAttributeOperationCompleted, userState); }
public int CreateOrUpdateAttribute(string ticket, TransitAttribute attr) { object[] results = this.Invoke("CreateOrUpdateAttribute", new object[] { ticket, attr}); return ((int)(results[0])); }