/// <summary> /// Implements <see cref="IBackgroundDispatcher.QueueUserWorkItem(WaitCallback, object)" />. /// </summary> public bool QueueUserWorkItem(WaitCallback callback, object state) { var invokerArgs = _etwActivityMethodInvoker.CreateInvokerArgs(callback, new object[] { state }); var result = ThreadPool.QueueUserWorkItem(_invokerWaitCallback, invokerArgs); return(result); }