Documentation for this section has not yet been entered.
- preexistingHandle
- The file descriptor to wrap.
- ownsHandle
- Whether the SafeFileHandle owns the handle; If it does, it will ensure that it gets properly closed on finalization.
Use the ownsHandle parameter to control whether the SafeFileHandle will close the descriptor or not.
Namespace: Microsoft.Win32.SafeHandles
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0