EndWaitForRequest Method

IReplyChannel.EndWaitForRequest Method (IAsyncResult)

 

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

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

bool EndWaitForRequest(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult

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

Return Value

Type: System.Boolean

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

The following code illustrates how to implement this method:

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft