Subscription::ReceiveAsync<T> Method (TimeSpan)

 

Asynchronously receives a subscription.

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

public:
generic<typename T>
Task<T>^ ReceiveAsync(
	TimeSpan serverWaitTime
)

Parameters

serverWaitTime
Type: System::TimeSpan

The waiting time of the server.

Return Value

Type: System.Threading.Tasks::Task<T>^

The subscription received.

Type Parameters

T

The type of the subscription.

Return to top
Show: