Message::OnGetBody<T> Method

.NET Framework 4.6 and 4.5

Called when the body of the message is retrieved.

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
  System.ServiceModel (in System.ServiceModel.dll)

protected:
generic<typename T>
virtual T OnGetBody(
	XmlDictionaryReader^ reader
)

Type Parameters

T

The type of the message body.

Parameters

reader
Type: System.Xml::XmlDictionaryReader

A [T:System.Xml.XmlDictionaryReader)] object used to read the body of the message.

Return Value

Type: T
A MessageBuffer that represents the body of the message.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft