OssClient Constructor (Uri, String, String) |
由用户指定的OSS访问地址、阿里云颁发的Access Id/Access Key构造一个新的
OssClient实例。
Namespace: Aliyun.OpenServices.OpenStorageServiceAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5626.29242
Syntaxpublic OssClient(
Uri endpoint,
string accessId,
string accessKey
)
Public Sub New (
endpoint As Uri,
accessId As String,
accessKey As String
)
Parameters
- endpoint
- Type: SystemUri
OSS的访问地址。 - accessId
- Type: SystemString
OSS的访问ID。 - accessKey
- Type: SystemString
OSS的访问密钥。
See Also