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.

Container for the parameters to the CreateWorkerBlock operation. The CreateWorkerBlock operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.MTurk.AmazonMTurkRequest
      Amazon.MTurk.Model.CreateWorkerBlockRequest

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

Syntax

C#
public class CreateWorkerBlockRequest : AmazonMTurkRequest
         IAmazonWebServiceRequest

The CreateWorkerBlockRequest type exposes the following members

Constructors

NameDescription
Public Method CreateWorkerBlockRequest()

Properties

NameTypeDescription
Public Property Reason System.String

Gets and sets the property Reason.

A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.

Public Property WorkerId System.String

Gets and sets the property WorkerId.

The ID of the Worker to block.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms