DeleteObject() 공개 메소드

public DeleteObject ( string bucketName, string key ) : Task
bucketName string
key string
리턴 Task
예제 #1
0
 static async void deleteObject()
 {
     try
     {
         OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
         await temp.DeleteObject("devdoc", "c# 5.0.pdf");
     }
     catch (AggregateException ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
예제 #2
0
        static  async void deleteObject()
        {
            try
            {
                OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
                await temp.DeleteObject("devdoc", "c# 5.0.pdf");

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

            }
        }