FileSystemOperationsExtensions.GetFileStatusAsync (Método) (IFileSystemOperations, String, String, CancellationToken)
Obtiene el objeto de estado de archivo especificado por la ruta de acceso de archivo.
Espacio de nombres: Microsoft.Azure.Management.DataLake.Store
Ensamblado: Microsoft.Azure.Management.DataLake.Store (en Microsoft.Azure.Management.DataLake.Store.dll)
Sintaxis
public static Task<FileStatusResult> GetFileStatusAsync(
this IFileSystemOperations operations,
string accountName,
string getFilePath,
CancellationToken cancellationToken = null
)
public:
[ExtensionAttribute]
static Task<FileStatusResult^>^ GetFileStatusAsync(
IFileSystemOperations^ operations,
String^ accountName,
String^ getFilePath,
CancellationToken cancellationToken = null
)
static member GetFileStatusAsync :
operations:IFileSystemOperations *
accountName:string *
getFilePath:string *
cancellationToken:CancellationToken = null -> Task<FileStatusResult>
<ExtensionAttribute>
Public Shared Function GetFileStatusAsync (
operations As IFileSystemOperations,
accountName As String,
getFilePath As String,
cancellationToken As CancellationToken
) As Task(Of FileStatusResult)
Parámetros
operations
Type: Microsoft.Azure.Management.DataLake.Store.IFileSystemOperationsEl grupo de operaciones de este método de extensión.
accountName
Type: System.StringPara ejecutar operaciones de sistema de archivos en la cuenta de Azure Data Lake Store.
getFilePath
Type: System.StringLa ruta de acceso del almacén de datos Lake (comenzando por '/') del archivo o directorio para el que se va a recuperar el estado.
cancellationToken
Type: System.Threading.CancellationTokenEl token de cancelación.
Valor devuelto
Type: System.Threading.Tasks.Task<FileStatusResult>
Vea también
FileSystemOperationsExtensions (Clase)
Microsoft.Azure.Management.DataLake.Store (Espacio de nombres)
Volver al principio