VisibilityTimeout Property
The visibility duration for messages in the queue.
Syntax
[VB.NET] Public Property VisibilityTimeout As Integer
[C#] public int VisibilityTimeout {get; set;}
Remarks
Visibility timeout is used to guard against multiple delivery. Successive calls to ListMessages on a queue will not return any message again until the timeout expires, after which the message may reappear unless deleted with DeleteMessage.
A default visibility timeout is configured when a queue is created using CreateQueue, it can also be altered when a message is added using CreateMessage or when they are retrieved using ListMessages.
The default value for VisibilityTimeout is -1, which notifies the component that you would like to use the default behavior for the current Queue.
Default Value
-1