'Declaration
Public Overloads Function BeginPeek( _ ByVal timeout As TimeSpan _ ) As IAsyncResult
'Usage
Dim instance As MessageQueue Dim timeout As TimeSpan Dim value As IAsyncResult value = instance.BeginPeek(timeout)
public IAsyncResult BeginPeek( TimeSpan timeout )
public: IAsyncResult^ BeginPeek( TimeSpan timeout )
Parameters
- timeout
- A System.TimeSpan that indicates the interval of time to wait for a message to become available.
Return Value
The System.IAsyncResult that identifies the posted asynchronous request.