OssClientBeginPutObject Method (String, String, Stream, AsyncCallback, Object) |
Begins the async call of uploading object to 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,
Stream content,
AsyncCallback callback,
Object state
)
Public Function BeginPutObject (
bucketName As String,
key As String,
content As Stream,
callback As AsyncCallback,
state As Object
) As IAsyncResult
public:
virtual IAsyncResult^ BeginPutObject(
String^ bucketName,
String^ key,
Stream^ content,
AsyncCallback^ callback,
Object^ state
) sealed
abstract BeginPutObject :
bucketName : string *
key : string *
content : Stream *
callback : AsyncCallback *
state : Object -> IAsyncResult
override BeginPutObject :
bucketName : string *
key : string *
content : Stream *
callback : AsyncCallback *
state : Object -> IAsyncResult
Parameters
- bucketName
- Type: SystemString
target Bucket name - key
- Type: SystemString
Key - content
- Type: System.IOStream
Content - callback
- Type: SystemAsyncCallback
callback instance - state
- Type: SystemObject
callback state
Return Value
Type:
IAsyncResultThe IAsyncResult instance for EndPutObject()
Implements
IOssBeginPutObject(String, String, Stream, AsyncCallback, Object)See Also