ClientBase<TChannel>::ChannelBase<T>::IRequestChannel::Request Method (Message^, TimeSpan)

 

Sends a message-based request and returns the correlated message-based response within a specified interval of time.

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

private:
virtual Message^ Request(
	Message^ message,
	TimeSpan timeout
) sealed = 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::Message^

The message received in response to the request.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: