MemoryMappedFile.CreateNew Method

Creates a memory-mapped file in system memory.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member CreateNew(String, Int64) Creates a memory-mapped file that has the specified capacity in system memory.
Public method Static member CreateNew(String, Int64, MemoryMappedFileAccess) Creates a memory-mapped file that has the specified capacity and access type in system memory.
Public method Static member CreateNew(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, HandleInheritability) Creates a memory-mapped file that has the specified name, capacity, access type, memory allocation options and inheritability.
Public method Static member CreateNew(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, MemoryMappedFileSecurity, HandleInheritability) Creates a memory-mapped file that has the specified capacity, access type, memory allocation, security permissions, and inheritability in system memory.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft