CallbackDebugBehavior(Boolean) Constructor

Definition

Initializes a new instance of the CallbackDebugBehavior class.

public:
 CallbackDebugBehavior(bool includeExceptionDetailInFaults);
public CallbackDebugBehavior (bool includeExceptionDetailInFaults);
new System.ServiceModel.Description.CallbackDebugBehavior : bool -> System.ServiceModel.Description.CallbackDebugBehavior
Public Sub New (includeExceptionDetailInFaults As Boolean)

Parameters

includeExceptionDetailInFaults
Boolean

Controls whether a WCF callback object includes managed exception information in the detail of the SOAP faults sent back to the service.

Remarks

The constructor creates a CallbackDebugBehavior object in which the value of the IncludeExceptionDetailInFaults property is the value of includeExceptionDetailInFaults.

Applies to