[This is preliminary documentation and is subject to change.]
The FileSystemSession type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| FileSystemSession |
Starts new file system session
|
Methods
| Name | Description | |
|---|---|---|
| BeginTransaction |
Starts a transaction returning its' transaction handle object, otherwise does nothing
| |
| BeginTransactionAsync |
Async version of BeginTransaction | |
| CommitTransaction |
Commits active transaction, does nothing otherwise
| |
| CommitTransactionAsync |
Async version of CommitTransaction | |
| 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.) | |
Serves as the default hash function. (Inherited from | ||
| GetItemAsync |
Async version of [P:Item(string)] | |
| GetLatestVersionAsync |
Async version of [P:LatestVersion] | |
Gets the (Inherited from | ||
| GetVersions |
Returns specified number of versions going back from the specific version. This call is thread-safe
| |
| GetVersionsAsync |
Async version of GetVersions(IFileSystemVersion, Int32) | |
Creates a shallow copy of the current (Inherited from | ||
| RollbackTransaction |
Cancels active transaction changes, does nothing otherwise
| |
| RollbackTransactionAsync |
Async version of RollbackTransaction | |
| SetFileSystemVersionAsync |
Async version of [P:Version] | |
Returns a string that represents the current object. (Inherited from | ||
| ValidateConnectParams |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| m_FileSystem | ||
| m_Handle | ||
| m_Items | ||
| m_Name | ||
| m_TransactionHandle | ||
| m_User |
Properties
| Name | Description | |
|---|---|---|
| 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 file system instance that this session operates under
| |
| Handle |
Returns file system handle for this session
| |
| Item |
Navigates to the specified path
| |
| Items |
Returns file system items initialized through this session
| |
| LatestVersion |
Returns latest version for file systems that support versioning, null otherwise
| |
| Name |
Returns session name
| |
| SecurityManager |
Returns security manager that services this file system session. This may be useful in cases when file system implements
its own permission structure and user directory
| |
| TransactionHandle |
Returns transaction object if transaction has been started or null
| |
| UniqueSequenceProvider |
Returns unique sequence provider for the system or null if it is not supported
| |
| User |
Returns user that this file system session is for
| |
| Version |
Gets/sets version of the file system that this session works against (a changeset that session "sees")
|
See Also