Send Method (Message, TimeSpan)

Sends the specified message, using the specified timeout.

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

Syntax

'Declaration
Public Sub Send ( _
    message As Message, _
    timeout As TimeSpan _
)
'Usage
Dim instance As MessageBufferClient
Dim message As Message
Dim timeout As TimeSpan

instance.Send(message, timeout)
public void Send(
    Message message,
    TimeSpan timeout
)
public:
void Send(
    Message^ message, 
    TimeSpan timeout
)
member Send : 
        message:Message * 
        timeout:TimeSpan -> unit 
public function Send(
    message : Message, 
    timeout : TimeSpan
)

Parameters

  • timeout
    Type: System. . :: . .TimeSpan
    The length of time to wait for the method to finish before returning a failure.

Remarks

For more information about sending a message to the message buffer, see How to: Send Messages to an AppFabric Service Bus Message Buffer.

See Also

Reference

MessageBufferClient Class

Send Overload

Microsoft.ServiceBus Namespace