共用方式為


FileSystemOperationsExtensions.GetContentSummaryAsync Method

Definition

Gets the file content summary object specified by the file path.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.ContentSummaryResult> GetContentSummaryAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string getContentSummaryFilePath, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.ContentSummaryResult> GetContentSummaryAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, System.Threading.CancellationToken cancellationToken = default);
static member GetContentSummaryAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.ContentSummaryResult>
static member GetContentSummaryAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.ContentSummaryResult>
<Extension()>
Public Function GetContentSummaryAsync (operations As IFileSystemOperations, accountName As String, getContentSummaryFilePath As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContentSummaryResult)
<Extension()>
Public Function GetContentSummaryAsync (operations As IFileSystemOperations, accountName As String, path As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContentSummaryResult)

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

getContentSummaryFilePathpath
String

The Data Lake Store path (starting with '/') of the file for which to retrieve the summary.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to