System.Diagnostics.ProcessThread.GetThreadInfo C# (CSharp) Method

GetThreadInfo() private method

private GetThreadInfo ( ) : Interop.libproc.proc_threadinfo
return Interop.libproc.proc_threadinfo
        private Interop.libproc.proc_threadinfo GetThreadInfo()
        {
            Interop.libproc.proc_threadinfo? info = Interop.libproc.GetThreadInfoById(_processId, _threadInfo._threadId);
            if (!info.HasValue)
            {
                throw new InvalidOperationException(SR.Format(SR.ThreadExited, Id));
            }
            return info.GetValueOrDefault();
        }
    }