AWS SDK for .NET Documentation
CancelExportTaskRequest Class
AmazonAmazon.EC2.ModelCancelExportTaskRequest Did this page help you?   Yes   No    Tell us about it...
Cancels an active export task.
Declaration Syntax
C#
public class CancelExportTaskRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CancelExportTaskRequest()()()()
Initializes a new instance of the CancelExportTaskRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExportTaskId
The ID of the export task you want to cancel.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetExportTaskId()()()()
Checks if the ExportTaskId property is set.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithExportTaskId(String) Obsolete.
Sets the ID of the export task you want to cancel.

Remarks
The action 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 action fails and returns an error.
Inheritance Hierarchy
Object
EC2Request
 CancelExportTaskRequest

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