public void ScanRequest( ScanType scanType, UInt32 scanChannels, byte scanDuration, byte channelPage, SecurityOptions securityOptions, ScanChannelConfirmHandler handler) { TaskScanRequest task = new TaskScanRequest( scanType, scanChannels, scanDuration, channelPage, securityOptions, handler); if (!_taskQueue.Add(task) && handler != null) { handler.Invoke(this, MacEnum.Congested, scanType, channelPage, scanChannels, null, null); } }