OssClient Constructor (String, ICredentialsProvider, ClientConfiguration) |
Creates an instance with specified credential information and client side configuration.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax public OssClient(
string endpoint,
ICredentialsProvider credsProvider,
ClientConfiguration configuration
)
Public Sub New (
endpoint As String,
credsProvider As ICredentialsProvider,
configuration As ClientConfiguration
)
public:
OssClient(
String^ endpoint,
ICredentialsProvider^ credsProvider,
ClientConfiguration^ configuration
)
new :
endpoint : string *
credsProvider : ICredentialsProvider *
configuration : ClientConfiguration -> OssClient
Parameters
- endpoint
- Type: SystemString
OSS endpoint - credsProvider
- Type: Aliyun.OSS.Common.AuthenticationICredentialsProvider
Credentials provider - configuration
- Type: Aliyun.OSS.CommonClientConfiguration
client side configuration
See Also