OssClientBeginPutObject 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 public IAsyncResult BeginPutObject(
string bucketName,
string key,
string fileToUpload,
ObjectMetadata metadata,
AsyncCallback callback,
Object state
)
Public Function BeginPutObject (
bucketName As String,
key As String,
fileToUpload As String,
metadata As ObjectMetadata,
callback As AsyncCallback,
state As Object
) As IAsyncResult
public:
virtual IAsyncResult^ BeginPutObject(
String^ bucketName,
String^ key,
String^ fileToUpload,
ObjectMetadata^ metadata,
AsyncCallback^ callback,
Object^ state
) sealed
abstract BeginPutObject :
bucketName : string *
key : string *
fileToUpload : string *
metadata : ObjectMetadata *
callback : AsyncCallback *
state : Object -> IAsyncResult
override 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
Implements
IOssBeginPutObject(String, String, String, ObjectMetadata, AsyncCallback, Object)See Also