Click or drag to resize
IOssBeginPutObject Method (String, String, Stream, ObjectMetadata, AsyncCallback, Object)
开始异步上传指定的OssObject到指定的Bucket

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
IAsyncResult BeginPutObject(
	string bucketName,
	string key,
	Stream content,
	ObjectMetadata metadata,
	AsyncCallback callback,
	Object state
)

Parameters

bucketName
Type: SystemString
指定的Bucket名称。
key
Type: SystemString
OssObjectKey
content
Type: System.IOStream
OssObjectContent
metadata
Type: Aliyun.OSSObjectMetadata
OssObject的元信息。
callback
Type: SystemAsyncCallback
用户自定义委托对象。
state
Type: SystemObject
用户自定义状态对象。

Return Value

Type: IAsyncResult
异步请求的对象引用。
See Also