IOssBeginPutObject Method (String, String, String, AsyncCallback, Object) |
Begins the async call to upload local file to OSS under the specified bucket.
Namespace: Aliyun.OSSAssembly: 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
)
Function BeginPutObject (
bucketName As String,
key As String,
fileToUpload As String,
callback As AsyncCallback,
state As Object
) As IAsyncResult
IAsyncResult^ BeginPutObject(
String^ bucketName,
String^ key,
String^ fileToUpload,
AsyncCallback^ callback,
Object^ state
)
abstract BeginPutObject :
bucketName : string *
key : string *
fileToUpload : string *
callback : AsyncCallback *
state : Object -> IAsyncResult
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:
IAsyncResultIAyncResult instance
See Also