Share via


Queue.OnMessage Method (Action<Message>)

 

Processes the queue message.

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

Syntax

public void OnMessage(
    Action<Message> messageReceivedCallback
)
public:
void OnMessage(
    Action<Message^>^ messageReceivedCallback
)
member OnMessage : 
        messageReceivedCallback:Action<Message> -> unit
Public Sub OnMessage (
    messageReceivedCallback As Action(Of Message)
)

Parameters

  • messageReceivedCallback
    Type: System.Action<Message>

    The method that is called when a message is received.

See Also

OnMessage Overload
Queue Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top