Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft