Click or drag to resize
SetBucketCorsRequest Class
设置存储空间的跨域资源共享的请求
Inheritance Hierarchy
SystemObject
  Aliyun.OSSSetBucketCorsRequest

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.2.0.0 (2.2.0)
Syntax
C#
public class SetBucketCorsRequest

The SetBucketCorsRequest type exposes the following members.

Constructors
  NameDescription
Public methodSetBucketCorsRequest
构造一个新的SetBucketCorsRequest实例。
Top
Methods
  NameDescription
Public methodAddCORSRule
添加一条CORSRule。
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 propertyBucketName
获取OssObject所在Bucket的名称。
Public propertyCORSRules
CORS规则的容器,每个bucket最多允许10条规则。
Top
See Also