MessageFault.GetDetail<T> Method (XmlObjectSerializer)

 

Returns the detail object that uses the specified XmlObjectSerializer.

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

public T GetDetail<T>(
	XmlObjectSerializer serializer
)

Parameters

serializer
Type: System.Runtime.Serialization.XmlObjectSerializer

The XmlObjectSerializer to use when deserializing the detail object.

Return Value

Type: T

The detail object contained in the MessageFault.

Type Parameters

T

The type of the detail object.

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