AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The RejectAssignment operation rejects the results of a completed assignment.

You can include an optional feedback message with the rejection, which the Worker can see in the Status section of the web site. When you include a feedback message with the rejection, it helps the Worker understand why the assignment was rejected, and can improve the quality of the results the Worker submits in the future.

Only the Requester who created the HIT can reject an assignment for the HIT.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to RejectAssignmentAsync.

Namespace: Amazon.MTurk
Assembly: AWSSDK.MTurk.dll
Version: 3.x.y.z

Syntax

C#
public abstract RejectAssignmentResponse RejectAssignment(
         RejectAssignmentRequest request
)

Parameters

request
Type: Amazon.MTurk.Model.RejectAssignmentRequest

Container for the necessary parameters to execute the RejectAssignment service method.

Return Value


The response from the RejectAssignment service method, as returned by MTurk.

Exceptions

ExceptionCondition
RequestErrorException Your request is invalid.
ServiceException Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also