ChannelDispatcher::IncludeExceptionDetailInFaults Property
.NET Framework (current version)
Gets or sets a value that indicates whether to include the details about an exception in a fault.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property bool IncludeExceptionDetailInFaults { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue if the details about an exception are included in the faults; otherwise, false.
| Exception | Condition |
|---|---|
| InvalidOperationException | |
| ObjectDisposedException | |
| CommunicationObjectFaultedException | The communication object is in a Faulted state. |
This property can only be set when the instance of the ChannelDispatcher is in the Created state, as this is the only state that is both mutable and not disposed.
.NET Framework
Available since 3.0
Available since 3.0
Show: