OpenThread() public static method

public static OpenThread ( int threadId, int access ) : SafeThreadHandle
threadId int
access int
return SafeThreadHandle
コード例 #1
0
 private Microsoft.Win32.SafeHandles.SafeThreadHandle OpenThreadHandle(int access)
 {
     this.EnsureState(State.IsLocal);
     return(ProcessManager.OpenThread(this.threadInfo.threadId, access));
 }
コード例 #2
0
 /// <summary>Open a handle to the thread.</summary>
 private SafeThreadHandle OpenThreadHandle(int access)
 {
     EnsureState(State.IsLocal);
     return(ProcessManager.OpenThread((int)_threadInfo._threadId, access));
 }
コード例 #3
0
 /// <include file='doc\ProcessThread.uex' path='docs/doc[@for="ProcessThread.OpenThreadHandle"]/*' />
 /// <devdoc>
 ///     Helper to open a thread handle.
 /// </devdoc>
 /// <internalonly/>
 IntPtr OpenThreadHandle(int access)
 {
     EnsureState(State.IsLocal);
     return(ProcessManager.OpenThread(threadInfo.threadId, access));
 }