예제 #1
0
 public Task Delete()
 {
     try
     {
         return(AbstractVapp <T> .AsyncDelete(this.VcloudClient, this.Reference.href));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }
예제 #2
0
 public static Task Delete(vCloudClient client, ReferenceType _ref)
 {
     try
     {
         return(AbstractVapp <T> .AsyncDelete(client, _ref.href));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }