AWS SDK for .NET Documentation
CancelExportTask Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► CancelExportTask(CancelExportTaskRequest)
Did this page help you? Yes No Tell us about it...
Cancels an active export task. The command removes all artifacts of the export, including any partially created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.
Declaration Syntax

C#

    CancelExportTaskResponse CancelExportTask(
    	CancelExportTaskRequest request
    )

Parameters

request (CancelExportTaskRequest)
  Cancel Export Task request

Return Value
Cancel Export Task response from the service
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)