你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ICloudBlob.UploadFromStreamAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UploadFromStreamAsync(Stream)
UploadFromStreamAsync(Stream, Int64)
public System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, long length);
abstract member UploadFromStreamAsync : System.IO.Stream * int64 -> System.Threading.Tasks.Task
Public Function UploadFromStreamAsync (source As Stream, length As Long) As Task
参数
- source
- Stream
- length
- Int64
返回
适用于
UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext)
public System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member UploadFromStreamAsync : System.IO.Stream * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Function UploadFromStreamAsync (source As Stream, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task
参数
- source
- Stream
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext
返回
适用于
UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext)
public System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, long length, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member UploadFromStreamAsync : System.IO.Stream * int64 * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Function UploadFromStreamAsync (source As Stream, length As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task
参数
- source
- Stream
- length
- Int64
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext