ClientBase(Of TChannel).ChannelBase(Of T).IRequestChannel.Request Method (Message, TimeSpan)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sends a message-based request and returns the correlated message-based response within a specified interval of time.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Private Function Request ( _ message As Message, _ timeout As TimeSpan _ ) As Message Implements IRequestChannel.Request
Parameters
- message
- Type: System.ServiceModel.Channels.Message
The request Message to be transmitted.
- timeout
- Type: System.TimeSpan
The TimeSpan that specifies the interval of time within which a response must be received.
Return Value
Type: System.ServiceModel.Channels.MessageThe Message received in response to the request.
Implements
IRequestChannel.Request(Message, TimeSpan)
Show: