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