Click or drag to resize
OssClientBeginPutObject 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
public 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

Implements

IOssBeginPutObject(String, String, String, AsyncCallback, Object)
See Also