ClientBase(Of TChannel).ChannelBase(Of T).IRequestChannel.Request Method (Message)
[ 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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Private Function Request ( _ message As Message _ ) As Message Implements IRequestChannel.Request
Parameters
- message
- Type: System.ServiceModel.Channels.Message
The request Message to be transmitted.
Return Value
Type: System.ServiceModel.Channels.MessageThe Message received in response to the request.
Implements
IRequestChannel.Request(Message)Passing the message into the request channel causes the message to be consumed. After you call IRequestChannel.Request(Message), you can no longer inspect the message or call Close on the message.
Show: