public bool AddCommute(System.Guid deviceId, CommuteDefinition commute) { object[] results = this.Invoke("AddCommute", new object[] { deviceId, commute }); return((bool)(results[0])); }
/// <remarks/> public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute, object userState) { if ((this.AddCommuteOperationCompleted == null)) { this.AddCommuteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddCommuteOperationCompleted); } this.InvokeAsync("AddCommute", new object[] { deviceId, commute }, this.AddCommuteOperationCompleted, userState); }
/// <remarks/> public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute, object userState) { if ((this.AddCommuteOperationCompleted == null)) { this.AddCommuteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddCommuteOperationCompleted); } this.InvokeAsync("AddCommute", new object[] { deviceId, commute}, this.AddCommuteOperationCompleted, userState); }
/// <remarks/> public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute) { this.AddCommuteAsync(deviceId, commute, null); }
public bool AddCommute(System.Guid deviceId, CommuteDefinition commute) { object[] results = this.Invoke("AddCommute", new object[] { deviceId, commute}); return ((bool)(results[0])); }