AWS SDK for .NET Documentation
WithMaxNumberOfMessages Method (maxNumberOfMessages)
AmazonAmazon.SQS.ModelReceiveMessageRequestWithMaxNumberOfMessages(Decimal) Did this page help you?   Yes   No    Tell us about it...
Sets the MaxNumberOfMessages property
Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public ReceiveMessageRequest WithMaxNumberOfMessages(
	decimal maxNumberOfMessages
maxNumberOfMessages (Decimal)
Maximum number of messages to return. SQS never returns more messages than this value but might return fewer. Not necessarily all the messages in the queue are returned (for more information, see the preceding note about machine sampling). Values can be from 1 to 10. Default is 1.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (