IReplyChannel.EndWaitForRequest(IAsyncResult) Method

Definition

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

C#
public bool EndWaitForRequest(IAsyncResult result);

Parameters

result
IAsyncResult

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

Returns

true if a request is received before the specified interval of time elapses; otherwise false.

Examples

The following code illustrates how to implement this method:

C#
public bool EndWaitForRequest(IAsyncResult result)
{
    return this.InnerChannel.EndWaitForRequest(result);
}

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1