Share via


Queue.OnMessage<T> Method (Action<T>)

 

Processes the queue message.

Namespace:   Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

Syntax

public void OnMessage<T>(
    Action<T> messageReceivedCallback
)
public:
generic<typename T>
void OnMessage(
    Action<T>^ messageReceivedCallback
)
member OnMessage<'T> : 
        messageReceivedCallback:Action<'T> -> unit
Public Sub OnMessage(Of T) (
    messageReceivedCallback As Action(Of T)
)

Parameters

  • messageReceivedCallback
    Type: System.Action<T>

    The method that is called when a message is received.

Type Parameters

  • T
    The object type.

See Also

OnMessage Overload
Queue Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top