Oss.OssClient.OssClient C# (CSharp) Метод

OssClient() публичный Метод

public OssClient ( Uri endpoint, string accessId, string accessKey ) : Oss.Deserial
endpoint System.Uri
accessId string
accessKey string
Результат Oss.Deserial
        public OssClient(Uri endpoint, string accessId, string accessKey)
        {
            if (endpoint == null)
            {

                throw new ArgumentNullException(OssResources.ExceptionIfArgumentStringIsNullOrEmpty, "endpoint");
            }
            if (string.IsNullOrEmpty(accessId))
            {
                throw new ArgumentException(OssResources.ExceptionIfArgumentStringIsNullOrEmpty, "accessId");
            }
            if (string.IsNullOrEmpty(accessKey))
            {
                throw new ArgumentException(OssResources.ExceptionIfArgumentStringIsNullOrEmpty, "accessKey");
            }

            networkCredential = new NetworkCredential(accessId, accessKey);
            httpClient = new HttpClient();
           // httpClient.BaseAddress = endpoint;

        }

Same methods

OssClient::OssClient ( string accessId, string accessKey ) : Oss.Deserial
OssClient::OssClient ( string endpoint, string accessId, string accessKey ) : Oss.Deserial