IInputChannel.EndTryReceive Method

Completes the specified asynchronous operation to receive a message.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

bool EndTryReceive(
	IAsyncResult result,
	out Message message


Type: System.IAsyncResult
The IAsyncResult returned by a call to the BeginTryReceive method.
Type: System.ServiceModel.Channels.Message%
The Message received.

Return Value

Type: System.Boolean
true if a message is received before the specified interval of time elapses; otherwise false.

The following code shows how to implement this method.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions