IReplyChannel.TryReceiveRequest Method (TimeSpan, RequestContext)
Returns a value that indicates whether a request is received before a specified interval of time elapses.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The TimeSpan that specifies how long the receive of a request operation has to complete before timing out and returning false.
Return ValueType: System.Boolean
true if a request message is received before the specified interval of time elapses; otherwise false.
Notes to Implementers:
The operation returns false if the specified timeout is exceeded.
The following code illustrates how to implement this method:
Available since 3.0