C# Class Microsoft.Win32.SafeHandles.SafeFileHandle

Inheritance: System.Runtime.InteropServices.SafeHandle
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
Open SafeFileHandle
Open SafeFileHandle
ReleaseHandle bool
SafeFileHandle System
SafeFileHandle System

Méthodes publiques

Méthode Description
SafeFileHandle ( IntPtr preexistingHandle, bool ownsHandle ) : System

Private Methods

Méthode Description
Open ( Func fdFunc ) : SafeFileHandle

Opens a SafeFileHandle for a file descriptor created by a provided delegate.

Open ( string path, Interop flags, int mode ) : SafeFileHandle

Opens the specified file with the requested flags and mode.

ReleaseHandle ( ) : bool
SafeFileHandle ( ) : System
SafeFileHandle ( bool ownsHandle ) : System

Method Details

SafeFileHandle() public méthode

public SafeFileHandle ( IntPtr preexistingHandle, bool ownsHandle ) : System
preexistingHandle System.IntPtr
ownsHandle bool
Résultat System