System.ServiceModel Namespa ...


.NET Framework Class Library
ExceptionDetail Class

Represents fault detail information.

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

Visual Basic (Declaration)
<DataContractAttribute> _
Public Class ExceptionDetail
Visual Basic (Usage)
Dim instance As ExceptionDetail
C#
[DataContractAttribute]
public class ExceptionDetail
Visual C++
[DataContractAttribute]
public ref class ExceptionDetail
JScript
public class ExceptionDetail
Remarks

The ExceptionDetail class is the type parameter used as the fault detail object when a System.ServiceModel..::.FaultException is sent by a service as a result of setting the ServiceBehaviorAttribute..::.IncludeExceptionDetailInFaults or the ServiceDebugBehavior..::.IncludeExceptionDetailInFaults property to true.

To send a ExceptionDetail object the type must be serializable. For more information on serialization options, see Specifying Data Transfer in Service Contracts.

Inheritance Hierarchy

System..::.Object
  System.ServiceModel..::.ExceptionDetail
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker