Compartilhar via


<callbackDebug>

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

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior> of <endpointBehaviors>
        <callbackDebug>

Syntax

<callbackDebug  includeExceptionDetailInFaults="Boolean" />

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.

ms788985.Caution(en-us,VS.90).gifCaution:
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> of <endpointBehaviors>

Specifies an endpoint behavior.

See Also

Reference

CallbackDebugElement
CallbackDebugBehavior


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05