OtsClient Constructor (String, String)Aliyun Open Services SDK for .NET
初始化OtsClient的新实例。

Namespace: Aliyun.OpenServices.OpenTableService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax

public OtsClient(
	string accessId,
	string accessKey
)

Parameters

accessId
Type: SystemString
访问OTS使用的Access ID。
accessKey
Type: SystemString
访问OTS使用的Access key。
Exceptions

ExceptionCondition
ArgumentException

endpoint为空引用或值为空字符串,

- 或 -

endpoint指定的协议不是http://或https://,

- 或 -

accessID为空引用或值为空字符串,

- 或 -

accessKey为空引用或值为空字符串。

See Also

Reference