CallbackBehavior

CallbackBehavior

Syntax

class CallbackBehavior : Behavior  
{  
  boolean AutomaticSessionShutdown;  
  string ConcurrencyMode;  
  boolean IgnoreExtensionDataObject;  
  boolean IncludeExceptionDetailInFaults;  
  boolean MaxItemsInObjectGraph;  
  boolean UseSynchronizationContext;  
  boolean ValidateMustUnderstand;  
};  

Methods

The CallbackBehavior class does not define any methods.

Properties

The CallbackBehavior class has the following properties:

AutomaticSessionShutdown

Data type: boolean

Access type: Read-only

When true, the session is automatically closed when a service closes a duplex session.

ConcurrencyMode

Data type: string
Access type: Read-only

Specifies whether the service supports one thread, multiple threads, or reentrant calls.

IgnoreExtensionDataObject

Data type: boolean

Access type: Read-only

A value that specifies whether to send unknown serialization data onto the wire.

IncludeExceptionDetailInFaults

Data type: boolean

Access type: Read-only

When enabled, details about exceptions on the callback are attached to the faults returned to the service.

MaxItemsInObjectGraph

Data type: boolean

Access type: Read-only

The maximum number of items allowed in a serialized object.

UseSynchronizationContext

Data type: boolean

Access type: Read-only

Specifies whether to use the current synchronization context to choose the thread of execution.

ValidateMustUnderstand

Data type: boolean

Access type: Read-only

Specifies whether the system or the application enforces SOAP MustUnderstand header processing.

Requirements

MOF Declared in Servicemodel.mof.
Namespace Defined in root\ServiceModel

See also