この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。
名前空間: Microsoft.TeamFoundation.Common.Internal
アセンブリ: Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)
構文
'宣言
Public Shared Function DuplicateHandle ( _
hSourceProcessHandle As HandleRef, _
hSourceHandle As SafeHandle, _
hTargetProcessHandle As HandleRef, _
<OutAttribute> ByRef lpTargetHandle As IntPtr, _
dwDesiredAccess As UInteger, _
bInheritHandle As Boolean, _
dwOptions As UInteger _
) As Boolean
public static bool DuplicateHandle(
HandleRef hSourceProcessHandle,
SafeHandle hSourceHandle,
HandleRef hTargetProcessHandle,
out IntPtr lpTargetHandle,
uint dwDesiredAccess,
bool bInheritHandle,
uint dwOptions
)
パラメーター
- hSourceProcessHandle
型 : System.Runtime.InteropServices.HandleRef
- hSourceHandle
型 : System.Runtime.InteropServices.SafeHandle
- hTargetProcessHandle
型 : System.Runtime.InteropServices.HandleRef
- lpTargetHandle
型 : System.IntPtr%
- dwDesiredAccess
型 : System.UInt32
- bInheritHandle
型 : System.Boolean
- dwOptions
型 : System.UInt32
戻り値
型 : System.Boolean