AdlsClient.GetContentSummary(String, Int32, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets content summary of a file or directory. It is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public virtual Microsoft.Azure.DataLake.Store.ContentSummary GetContentSummary (string path, int numThreads = -1, System.Threading.CancellationToken cancelToken = default);
abstract member GetContentSummary : string * int * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.ContentSummary
override this.GetContentSummary : string * int * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.ContentSummary
Public Overridable Function GetContentSummary (path As String, Optional numThreads As Integer = -1, Optional cancelToken As CancellationToken = Nothing) As ContentSummary
Parameters
- path
- String
Path of the directory or file
- numThreads
- Int32
Number of threads
- cancelToken
- CancellationToken
CancellationToken to cancel the request
Returns
Applies to
Azure SDK for .NET