你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FilesOperationsExtensions.ReadWriteAsync Method

Definition

This method is used for requesting information for reading and writing the file content.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.FileStorageInfo> ReadWriteAsync (this Microsoft.Azure.Management.DataMigration.IFilesOperations operations, string groupName, string serviceName, string projectName, string fileName, System.Threading.CancellationToken cancellationToken = default);
static member ReadWriteAsync : Microsoft.Azure.Management.DataMigration.IFilesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.FileStorageInfo>
<Extension()>
Public Function ReadWriteAsync (operations As IFilesOperations, groupName As String, serviceName As String, projectName As String, fileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileStorageInfo)

Parameters

operations
IFilesOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

projectName
String

Name of the project

fileName
String

Name of the File

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to