Click or drag to resize
CopyObjectRequest Class
指定拷贝Object的请求参数
Inheritance Hierarchy
SystemObject
  Aliyun.OSSCopyObjectRequest

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public class CopyObjectRequest

The CopyObjectRequest type exposes the following members.

Constructors
  NameDescription
Public methodCopyObjectRequest
构造一个新的CopyObjectRequest 实例
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(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