System.IO.FileStream: Constructor Members

The constructors of System.IO.FileStream are listed below. For a list of all members, see the FileStream Members list.

See Also: Inherited members from System.IO.Stream

Public Constructors

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission.

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission.

Initializes a new instance of the System.IO.FileStream class with the specified path and creation mode.

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, and buffer size.

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission and FileStream instance ownership.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, and read/write permission.

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, buffer size, and synchronous or asynchronous state.

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, and buffer size.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write permission, and sharing permission.

Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, buffer size, and synchronous or asynchronous state.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write and sharing permission, and buffer size.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, and additional file options.

Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security.