[This is preliminary documentation and is subject to change.]
The FileSystemSessionItem type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| FileSystemSessionItem | Initializes a new instance of the FileSystemSessionItem class |
Methods
| Name | Description | |
|---|---|---|
| CheckCanChange |
Throws when item can not change
| |
| CheckCanChangeAsync |
Async version of CheckCanChange | |
| Delete |
Deletes this item from file system
| |
| DeleteAsync |
Async version of Delete | |
| Destructor | (Overrides DisposableObject Destructor .) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| Finalize | (Inherited from DisposableObject.) | |
| GetCreationUserAsync |
Async version of [P:CreationUser] | |
Serves as the default hash function. (Inherited from | ||
| GetLastAccessUserAsync |
Async version of [P:LastAccessUser] | |
| GetModificationUserAsync |
Async version of [P:ModificationUser] | |
| GetSizeAsync |
Async version of [P:Size] | |
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| Refresh |
Refreshes the state represented by this item, i.e. this may re-read attributes from remote file system
| |
| RefreshAsync |
Async version of Refresh | |
| Rename |
Renames an item. Check file system capabilities to see if renaming is supported
| |
| RenameAsync |
Async version of Rename(String) | |
| SetCreationTimestampAsync |
Async version of [P:CreationTimestamp] | |
| SetLastAccessTimestampAsync |
Async version of [P:LastAccessTimestamp] | |
| SetModificationTimestampAsync |
Async version of [P:ModificationTimestamp] | |
| SetReadOnlyAsync |
Async version of [P:ReadOnly] | |
| ToString | (Overrides |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| m_FileSystem | ||
| m_Handle | ||
| m_Modified | ||
| m_Session |
Properties
| Name | Description | |
|---|---|---|
| CreationTimestamp |
Gets/sets UTC creation timestamp
| |
| CreationUser |
Gets the user who created this item
| |
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) | |
| FileSystem |
Returns filesystem - this is a shortcut to Session.FileSystem
| |
| Handle |
Returns file system handle for this entity
| |
| IsReadOnly |
Indicates whether this item can change and file system supports modifications
| |
| LastAccessTimestamp |
Gets/sets UTC last access timestamp
| |
| LastAccessUser |
Gets the last user who accessed the item
| |
| MetadataStream |
Returns item metadata stream
| |
| ModificationTimestamp |
Gets/sets UTC modification timestamp
| |
| ModificationUser |
Gets the user who modified this item
| |
| Modified |
Indicates whether anything has changed since last transaction has started
| |
| Name | ||
| ParentPath |
Returns path to directory that contains this item
| |
| Path |
Returns an absolute path for this item
| |
| PermissionsStream |
Returns item permissions stream
| |
| ReadOnly |
Gets/sets readonly attribute
| |
| Session |
Returns session through which this object was obtained
| |
| Size |
Returns the byte size of the item, depending on implementation this property may return approximate sizes for files and directories
(i.e in distributed systems)
|
See Also