Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

QueueClient.BeginPeek Method (Int64, AsyncCallback, Object)

Begins an asynchronous operation to peek a message.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Public Function BeginPeek ( _
	fromSequenceNumber As Long, _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
Dim instance As QueueClient 
Dim fromSequenceNumber As Long 
Dim callback As AsyncCallback 
Dim state As Object 
Dim returnValue As IAsyncResult 

returnValue = instance.BeginPeek(fromSequenceNumber, _
	callback, state)


Type: System.Int64
A sequence number from where to peek a message.
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
Type: System.Object
A user-defined object that contains state information about the asynchronous operation.

Return Value

Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation to peek a message.

Community Additions

© 2015 Microsoft