QueueHttpWebRequestFactory.PeekMessages Method

Definition

Overloads

PeekMessages(Uri, Nullable<Int32>, Int32, Boolean, OperationContext)

Constructs a web request to peek messages from a queue.

PeekMessages(Uri, Nullable<Int32>, Int32, OperationContext)

Constructs a web request to peek messages from a queue.

PeekMessages(Uri, Nullable<Int32>, Int32, Boolean, OperationContext)

Constructs a web request to peek messages from a queue.

public static System.Net.HttpWebRequest PeekMessages (Uri uri, Nullable<int> timeout, int numberOfMessages, bool useVersionHeader, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
static member PeekMessages : Uri * Nullable<int> * int * bool * Microsoft.WindowsAzure.Storage.OperationContext -> System.Net.HttpWebRequest

Parameters

uri
Uri

A Uri specifying the absolute URI to the queue.

timeout
Nullable<Int32>

An integer specifying the server timeout interval.

numberOfMessages
Int32

An integer specifying the number of messages to peek.

useVersionHeader
Boolean

A boolean value indicating whether to set the x-ms-version HTTP header.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

HttpWebRequest

A HttpWebRequest object.

Applies to

Product Introduced

PeekMessages(Uri, Nullable<Int32>, Int32, OperationContext)

Constructs a web request to peek messages from a queue.

public static System.Net.HttpWebRequest PeekMessages (Uri uri, Nullable<int> timeout, int numberOfMessages, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
static member PeekMessages : Uri * Nullable<int> * int * Microsoft.WindowsAzure.Storage.OperationContext -> System.Net.HttpWebRequest

Parameters

uri
Uri

A Uri specifying the absolute URI to the queue.

timeout
Nullable<Int32>

An integer specifying the server timeout interval.

numberOfMessages
Int32

An integer specifying the number of messages to peek.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

HttpWebRequest

A HttpWebRequest object.

Applies to

Product Introduced