FileSystem DoSetReadOnlyAsync Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Async version of DoSetReadOnly(FileSystemSessionItem, Boolean). This base/default implementation just synchronously calls DoSetReadOnly(FileSystemSessionItem, Boolean) and returns already completed Task with result returned by DoSetReadOnly(FileSystemSessionItem, Boolean)

Namespace: NFX.IO.FileSystem
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

protected internal virtual Task DoSetReadOnlyAsync(
	FileSystemSessionItem item,
	bool readOnly
)

Return Value

Type: OnlineTask
See Also