public void AddDeviceAsync(FullDeviceInfo deviceInfo, object userState) { if ((this.AddDeviceOperationCompleted == null)) { this.AddDeviceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddDeviceCompleted); } this.InvokeAsync("AddDevice", new object[] { deviceInfo}, this.AddDeviceOperationCompleted, userState); }
public System.IAsyncResult BeginAddDevice(FullDeviceInfo deviceInfo, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("AddDevice", new object[] { deviceInfo}, callback, asyncState); }
public void AddDeviceAsync(FullDeviceInfo deviceInfo) { this.AddDeviceAsync(deviceInfo, null); }