Click or drag to resize
IOssBeginPutObject Method (String, String, String, AsyncCallback, Object)
Begins the async call to upload local file to OSS under the specified bucket.

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
IAsyncResult BeginPutObject(
	string bucketName,
	string key,
	string fileToUpload,
	AsyncCallback callback,
	Object state
)

Parameters

bucketName
Type: SystemString
Bucket name
key
Type: SystemString
Key
fileToUpload
Type: SystemString
local file path to upload
callback
Type: SystemAsyncCallback
callback instance
state
Type: SystemObject
callback state

Return Value

Type: IAsyncResult
IAyncResult instance
See Also