<callbackDebug>

Specifies service debugging for a Windows Communication Foundation (WCF) callback object.

<system.ServiceModel>
<behaviors>
<endpointBehaviors>
<behavior>
<callbackDebug>

Syntax

<callbackDebug  includeExceptionDetailInFaults="Boolean" />  

Type

Type

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
includeExceptionDetailInFaults A value that specifies whether client callback objects return managed exception information in SOAP faults back to the service.

If you set this attribute to true programmatically, you can enable the flow of managed exception information in a client callback object back to the service for debugging purposes. Caution: Returning managed exception information to clients can be a security risk. This is because exception details expose information about the internal service implementation that could be used by unauthorized clients.

Child Elements

None.

Parent Elements

Element Description
<behavior> Specifies an endpoint behavior.

See Also

CallbackDebugElement
CallbackDebugBehavior