IOssBeginPutObject Method (String, String, Stream, ObjectMetadata, AsyncCallback, Object) |
Namespace: Aliyun.OpenServices.OpenStorageServiceAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5626.29242
SyntaxIAsyncResult BeginPutObject(
string bucketName,
string key,
Stream content,
ObjectMetadata metadata,
AsyncCallback callback,
Object state
)
Function BeginPutObject (
bucketName As String,
key As String,
content As Stream,
metadata As ObjectMetadata,
callback As AsyncCallback,
state As Object
) As IAsyncResult
Parameters
- bucketName
- Type: SystemString
指定的Bucket名称。 - key
- Type: SystemString
OssObject的Key。 - content
- Type: System.IOStream
OssObject的Content。 - metadata
- Type: Aliyun.OpenServices.OpenStorageServiceObjectMetadata
OssObject的元信息。 - callback
- Type: SystemAsyncCallback
用户自定义委托对象。 - state
- Type: SystemObject
用户自定义状态对象。
Return Value
Type:
IAsyncResult异步请求的对象引用。
See Also