DeleteBucket() public method

public DeleteBucket ( string bucketName ) : Task
bucketName string
return Task
Exemplo n.º 1
0
 static async void deleteBuket()
 {
     try
     {
         OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
         await temp.DeleteBucket("mydoc12");
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
Exemplo n.º 2
0
        static async void deleteBuket()
        {
            try
            {
                OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
                await temp.DeleteBucket("mydoc12");

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

            }
        }