AWS SDK for .NET Documentation
CancelExportTask Method (request)
AmazonAmazon.EC2AmazonEC2ClientCancelExportTask(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#
public CancelExportTaskResponse CancelExportTask(
	CancelExportTaskRequest request
)
Parameters
request (CancelExportTaskRequest)
Cancel Export Task request
Return Value
Cancel Export Task response from the service
Exceptions

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