MessageFault.GetDetail Method

Definition

Returns the detail object of the message fault.

Overloads

GetDetail<T>(XmlObjectSerializer)

Returns the detail object that uses the specified XmlObjectSerializer.

GetDetail<T>()

Returns the detail object of the message fault.

GetDetail<T>(XmlObjectSerializer)

Source:
MessageFault.cs

Returns the detail object that uses the specified XmlObjectSerializer.

public T GetDetail<T> (System.Runtime.Serialization.XmlObjectSerializer serializer);

Type Parameters

T

The type of the detail object.

Parameters

serializer
XmlObjectSerializer

The XmlObjectSerializer to use when deserializing the detail object.

Returns

T

The detail object contained in the MessageFault.

Applies to

.NET 8 (package-provided) en andere versies
Product Versies
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0

GetDetail<T>()

Source:
MessageFault.cs

Returns the detail object of the message fault.

public T GetDetail<T> ();

Type Parameters

T

The type of the detail object.

Returns

T

The detail object of the message fault.

Applies to

.NET 8 (package-provided) en andere versies
Product Versies
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0