Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 virtual T OnGetBody<T>(
	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
Show:
© 2015 Microsoft