System.IO.MemoryMappedFiles.MemoryMappedFile.OpenCore C# (CSharp) Méthode

OpenCore() private static méthode

Used by the OpenExisting factory method group and by CreateOrOpen if access is write. We'll throw an ArgumentException if the file mapping object didn't exist and the caller used CreateOrOpen since Create isn't valid with Write access
private static OpenCore ( string mapName, HandleInheritability inheritability, MemoryMappedFileAccess access, bool createOrOpen ) : SafeMemoryMappedFileHandle
mapName string
inheritability HandleInheritability
access MemoryMappedFileAccess
createOrOpen bool
Résultat SafeMemoryMappedFileHandle
        private static SafeMemoryMappedFileHandle OpenCore(
            string mapName, HandleInheritability inheritability, MemoryMappedFileAccess access, bool createOrOpen)
        {
            return OpenCore(mapName, inheritability, GetFileMapAccess(access), createOrOpen);
        }

Same methods

MemoryMappedFile::OpenCore ( string mapName, HandleInheritability inheritability, MemoryMappedFileRights rights, bool createOrOpen ) : SafeMemoryMappedFileHandle
MemoryMappedFile::OpenCore ( string mapName, HandleInheritability inheritability, int desiredAccessRights, bool createOrOpen ) : SafeMemoryMappedFileHandle