CreateBucket() 공개 메소드

public CreateBucket ( string bucketName ) : Task
bucketName string
리턴 Task
예제 #1
0
 static async void createBuket()
 {
     try
     {
         OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
         Bucket    test = await temp.CreateBucket("1");
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
예제 #2
0
        static async void createBuket()
        {
            try
            {
                OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
                Bucket test = await temp.CreateBucket("1");

            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);

            }
        }