OssClient Constructor (Uri, ICredentialsProvider) |
Creates an instance with specified endpoint and credential information.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax public OssClient(
Uri endpoint,
ICredentialsProvider credsProvider
)
Public Sub New (
endpoint As Uri,
credsProvider As ICredentialsProvider
)
public:
OssClient(
Uri^ endpoint,
ICredentialsProvider^ credsProvider
)
new :
endpoint : Uri *
credsProvider : ICredentialsProvider -> OssClient
Parameters
- endpoint
- Type: SystemUri
OSS的访问地址。 - credsProvider
- Type: Aliyun.OSS.Common.AuthenticationICredentialsProvider
Credentials提供者。
See Also