Message.OnGetBody(Of T) Method (XmlDictionaryReader)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Called when the body of the message is retrieved.

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

Protected Overridable Function OnGetBody(Of T) (
	reader As XmlDictionaryReader
) As T


Type: System.Xml.XmlDictionaryReader

A XmlDictionaryReader object used to read the body of the message.

Return Value

Type: T

A MessageBuffer that represents the body of the message.

Type Parameters


The type of the message body.

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