MessageFault.GetDetail Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the detail object of the message fault.
GetDetail<T>(XmlObjectSerializer) |
Returns the detail object that uses the specified XmlObjectSerializer. |
GetDetail<T>() |
Returns the detail object of the message fault. |
- Source:
- MessageFault.cs
Returns the detail object that uses the specified XmlObjectSerializer.
public:
generic <typename T>
T GetDetail(System::Runtime::Serialization::XmlObjectSerializer ^ serializer);
public T GetDetail<T> (System.Runtime.Serialization.XmlObjectSerializer serializer);
member this.GetDetail : System.Runtime.Serialization.XmlObjectSerializer -> 'T
Public Function GetDetail(Of T) (serializer As XmlObjectSerializer) As T
Type Parameters
- T
The type of the detail object.
Parameters
- serializer
- XmlObjectSerializer
The XmlObjectSerializer to use when deserializing the detail object.
Returns
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 |
- Source:
- MessageFault.cs
Returns the detail object of the message fault.
public:
generic <typename T>
T GetDetail();
public T GetDetail<T> ();
member this.GetDetail : unit -> 'T
Public Function GetDetail(Of T) () As T
Type Parameters
- T
The type of the detail object.
Returns
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 |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: