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.

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

Syntax

Private Function Request ( _
    message As Message _
) As Message Implements IRequestChannel.Request
Message IRequestChannel.Request(
    Message message
)

Parameters

Return Value

Type: System.ServiceModel.Channels..::.Message
The Message received in response to the request.

Implements

IRequestChannel..::.Request(Message)

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ClientBase<(Of <(TChannel>)>)..::.ChannelBase<(Of <(T>)>) Class

Request Overload

System.ServiceModel Namespace