System.IO.MemoryMappedFiles.MemoryMappedFile: Method Members

The methods of System.IO.MemoryMappedFiles.MemoryMappedFile are listed below. For a list of all members, see the MemoryMappedFile Members list.

See Also: Inherited members from System.Object

Public Methods

static
CreateFromFile(string) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file from a file on disk.

static
CreateFromFile(string, FileMode) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified access mode from a file on disk.

static
CreateFromFile(string, FileMode, string) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified access mode and name from a file on disk.

static
CreateFromFile(string, FileMode, string, long) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified access mode, name, and capacity from a file on disk.

static
CreateFromFile(string, FileMode, string, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified access mode, name, capacity, and access type from a file on disk.

static
CreateFromFile(FileStream, string, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, System.IO.MemoryMappedFiles.MemoryMappedFileSecurity, HandleInheritability, bool) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified name, capacity, access type, security permissions, inheritability, and disposal requirement from a file on disk.

static
CreateNew(string, long) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified capacity in system memory.

static
CreateNew(string, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified capacity and access type in system memory.

static
CreateNew(string, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, System.IO.MemoryMappedFiles.MemoryMappedFileOptions, System.IO.MemoryMappedFiles.MemoryMappedFileSecurity, HandleInheritability) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates a memory-mapped file that has the specified capacity, access type, memory allocation, security permissions, and inheritability in system memory.

static
CreateOrOpen(string, long) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates or opens a memory-mapped file that has the specified capacity in system memory.

static
CreateOrOpen(string, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates or opens a memory-mapped file that has the specified capacity and access type in system memory.

static
CreateOrOpen(string, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, System.IO.MemoryMappedFiles.MemoryMappedFileOptions, System.IO.MemoryMappedFiles.MemoryMappedFileSecurity, HandleInheritability) : System.IO.MemoryMappedFiles.MemoryMappedFile

Creates or opens a memory-mapped file that has the specified capacity, access type, memory allocation, security permissions, and inheritability in system memory.

CreateViewAccessor() : System.IO.MemoryMappedFiles.MemoryMappedViewAccessor

Creates a System.IO.MemoryMappedFiles.MemoryMappedViewAccessor that maps to a view of the memory-mapped file.

CreateViewAccessor(long, long) : System.IO.MemoryMappedFiles.MemoryMappedViewAccessor

Creates a System.IO.MemoryMappedFiles.MemoryMappedViewAccessor that maps to a view of the memory-mapped file, and that has the specified offset and size.

CreateViewAccessor(long, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess) : System.IO.MemoryMappedFiles.MemoryMappedViewAccessor

Creates a System.IO.MemoryMappedFiles.MemoryMappedViewAccessor that maps to a view of the memory-mapped file, and that has the specified offset, size, and access restrictions.

CreateViewStream() : System.IO.MemoryMappedFiles.MemoryMappedViewStream

Creates a stream that maps to a view of the memory-mapped file.

CreateViewStream(long, long) : System.IO.MemoryMappedFiles.MemoryMappedViewStream

Creates a stream that maps to a view of the memory-mapped file, and that has the specified offset and size.

CreateViewStream(long, long, System.IO.MemoryMappedFiles.MemoryMappedFileAccess) : System.IO.MemoryMappedFiles.MemoryMappedViewStream

Creates a stream that maps to a view of the memory-mapped file, and that has the specified offset, size, and access type.

Dispose()

Releases all resources used by the System.IO.MemoryMappedFiles.MemoryMappedFile.

GetAccessControl() : System.IO.MemoryMappedFiles.MemoryMappedFileSecurity

Gets the access control to the memory-mapped file resource.

static
OpenExisting(string) : System.IO.MemoryMappedFiles.MemoryMappedFile

Opens an existing memory-mapped file that has the specified name in system memory.

static
OpenExisting(string, System.IO.MemoryMappedFiles.MemoryMappedFileRights) : System.IO.MemoryMappedFiles.MemoryMappedFile

Opens an existing memory-mapped file that has the specified name and access rights in system memory.

static
OpenExisting(string, System.IO.MemoryMappedFiles.MemoryMappedFileRights, HandleInheritability) : System.IO.MemoryMappedFiles.MemoryMappedFile

Opens an existing memory-mapped file that has the specified name, access rights, and inheritability in system memory.

SetAccessControl(System.IO.MemoryMappedFiles.MemoryMappedFileSecurity)

Sets the access control to the memory-mapped file resource.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.IO.MemoryMappedFiles.MemoryMappedFile and optionally releases the managed resources.