Click or drag to resize
OssClient Constructor (String, ICredentialsProvider, ClientConfiguration)
由用户指定的OSS访问地址、Credentials提供者构造一个新的OssClient实例。

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public OssClient(
	string endpoint,
	ICredentialsProvider credsProvider,
	ClientConfiguration configuration
)

Parameters

endpoint
Type: SystemString
OSS的访问地址。
credsProvider
Type: Aliyun.OSS.Common.AuthenticationICredentialsProvider
Credentials提供者。
configuration
Type: Aliyun.OSS.CommonClientConfiguration
客户端配置。
See Also