EndWaitForMessage Method

IInputChannel.EndWaitForMessage Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Completes the specified asynchronous wait-for-a-message operation.

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

bool EndWaitForMessage(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult
The IAsyncResult that identifies the BeginWaitForMessage(TimeSpan, AsyncCallback, Object) operation to finish, and from which to retrieve an end result.

Return Value

Type: System.Boolean
true if a message has arrived before the timeout has been exceeded; otherwise false.

The following code shows how to implement this method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft