OssClient Constructor (Uri, ICredentialsProvider, ClientConfiguration) |
Creates an instance with specified endpoint, credential information 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,
ClientConfiguration configuration
)
Public Sub New (
endpoint As Uri,
credsProvider As ICredentialsProvider,
configuration As ClientConfiguration
)
public:
OssClient(
Uri^ endpoint,
ICredentialsProvider^ credsProvider,
ClientConfiguration^ configuration
)
new :
endpoint : Uri *
credsProvider : ICredentialsProvider *
configuration : ClientConfiguration -> OssClient
Parameters
- endpoint
- Type: SystemUri
OSS endpoint - credsProvider
- Type: Aliyun.OSS.Common.AuthenticationICredentialsProvider
Credentials information - configuration
- Type: Aliyun.OSS.CommonClientConfiguration
client side configuration
See Also