ChannelDispatcher.ReceiveContextEnabled Property

.NET Framework (current version)

Gets or sets whether ReceiveContext is enabled.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool ReceiveContextEnabled { get; set; }

Property Value

Type: System.Boolean

true if ReceiveContext is enabled; otherwise, false.

The ReceiveContext controls the manner in which messages are handled by the service, for example locking of the message as long as needed.

.NET Framework
Available since 4.0
Return to top