/// 删除存储桶跨地域复制规则 public void DeleteBucketReplication() { //.cssg-snippet-body-start:[delete-bucket-replication] string bucket = "examplebucket-1250000000"; //格式:BucketName-APPID DeleteBucketReplicationRequest request = new DeleteBucketReplicationRequest(bucket); try { DeleteBucketReplicationResult result = cosXml.DeleteBucketReplication(request); Console.WriteLine(result.GetResultInfo()); } catch (COSXML.CosException.CosClientException clientEx) { Console.WriteLine("CosClientException: " + clientEx); } catch (COSXML.CosException.CosServerException serverEx) { Console.WriteLine("CosServerException: " + serverEx.GetInfo()); } //.cssg-snippet-body-end }