IOssBeginPutObject Method (String, String, String, ObjectMetadata, AsyncCallback, Object) |
Begins the async call to upload object with specified metadata.
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,
ObjectMetadata metadata,
AsyncCallback callback,
Object state
)
Function BeginPutObject (
bucketName As String,
key As String,
fileToUpload As String,
metadata As ObjectMetadata,
callback As AsyncCallback,
state As Object
) As IAsyncResult
IAsyncResult^ BeginPutObject(
String^ bucketName,
String^ key,
String^ fileToUpload,
ObjectMetadata^ metadata,
AsyncCallback^ callback,
Object^ state
)
abstract BeginPutObject :
bucketName : string *
key : string *
fileToUpload : string *
metadata : ObjectMetadata *
callback : AsyncCallback *
state : Object -> IAsyncResult
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Key - fileToUpload
- Type: SystemString
local file to upload - metadata
- Type: Aliyun.OSSObjectMetadata
OssObject metadata - callback
- Type: SystemAsyncCallback
callback instance - state
- Type: SystemObject
callback state
Return Value
Type:
IAsyncResultIAsyncResult instance for EndPutObject
See Also