CopyObjectRequest ClassAliyun Open Services SDK for .NET
指定拷贝Object的请求参数
Inheritance Hierarchy

SystemObject
  Aliyun.OpenServices.OpenStorageServiceCopyObjectRequest

Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax

public class CopyObjectRequest

The CopyObjectRequest type exposes the following members.

Constructors

  NameDescription
Public methodCopyObjectRequest
构造一个新的CopyObjectRequest 实例
Top
Methods

  NameDescription
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyDestinationBucketName
获取或者设置目标Object所在的Bucket的名称。
Public propertyDestinationKey
获取或者设置目标Object的Key。
Public propertyMatchingETagConstraints
如果源Object的ETAG值和用户提供的ETAG相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。
Public propertyModifiedSinceConstraint
如果源Object自从用户指定的时间以后被修改过,则执行拷贝操作; 否则返回412 HTTP错误码(预处理失败)。
Public propertyNewObjectMetaData
获取或者设置目标Object的Metadata信息。
Public propertyNonmatchingETagConstraints
如果源Object的ETAG值和用户提供的ETAG不相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。
Public propertySourceBucketName
获取或者设置源Object所在的Bucket的名称。
Public propertySourceKey
获取或者设置源Object的Key。
Public propertyUnmodifiedSinceConstraint
如果传入参数中的时间等于或者晚于文件实际修改时间,则正常传输文件,并返回200 OK; 否则返回412 precondition failed错误
Top
See Also

Reference