Click or drag to resize
RiakMapReduceQuery Constructor (String, NullableInt32)

Note: This API is now obsolete.

Initializes a new instance of the RiakMapReduceQuery class.

Namespace:  RiakClient.Models.MapReduce
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
[ObsoleteAttribute("This overload will be removed in the next version, please use the RiakMapReduceQuery() or RiakMapReduceQuery(int? timeout) overloads instead.")]
public RiakMapReduceQuery(
	string contentType,
	Nullable<int> timeout = null
)

Parameters

contentType
Type: SystemString
The query's return content-type.
timeout (Optional)
Type: SystemNullableInt32
The timeout period for the query, in milliseconds.
Exceptions
ExceptionCondition
ArgumentExceptionThe value of 'contentType' cannot be null, empty, or whitespace.
See Also