IFolderListingResultContextReturnChildrenAsync Method |
IT Hit User File System
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 9.0.27334.0-Beta
SyntaxTask<OperationResult> ReturnChildrenAsync(
IMetadata[] aChildrenBlock,
long childrenTotalCount,
bool disableOnDemandPopulation = true,
CancellationToken cancellationToken = null
)
Function ReturnChildrenAsync (
aChildrenBlock As IMetadata(),
childrenTotalCount As Long,
Optional disableOnDemandPopulation As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of OperationResult)
Task<OperationResult^>^ ReturnChildrenAsync(
array<IMetadata^>^ aChildrenBlock,
long long childrenTotalCount,
bool disableOnDemandPopulation = true,
CancellationToken cancellationToken = nullptr
)
abstract ReturnChildrenAsync :
aChildrenBlock : IMetadata[] *
childrenTotalCount : int64 *
?disableOnDemandPopulation : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _disableOnDemandPopulation = defaultArg disableOnDemandPopulation true
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<OperationResult>
Parameters
- aChildrenBlock
- Type: ITHit.FileSystemIMetadata
Array of files and folders. - childrenTotalCount
- Type: SystemInt64
Total number of items that should be returned in response to GetChildrenAsync(String, IOperationContext, IFolderListingResultContext, CancellationToken) call. - disableOnDemandPopulation (Optional)
- Type: SystemBoolean
Set this parameter to true to indicate that all children has loaded.
This will prevent any further folder listings and calls to GetChildrenAsync(String, IOperationContext, IFolderListingResultContext, CancellationToken).
Set this parameter to false if you enabled the streaming mode by setting the [!:StorageProviderHydrationPolicyModifier.StreamingAllowed]
flag in [!:StorageProviderSyncRootInfo.HydrationPolicyModifier] when registering the virtual file system.
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Return Value
Type:
TaskOperationResultA task object that can be awaited.
Remarks
See Also