편집

다음을 통해 공유


SoapProcessingBehavior.ProcessMessages Property

Definition

Gets or sets a value that indicates whether messages should be processed.

public:
 property bool ProcessMessages { bool get(); void set(bool value); };
public bool ProcessMessages { get; set; }
member this.ProcessMessages : bool with get, set
Public Property ProcessMessages As Boolean

Property Value

true if messages should be marshaled; otherwise, false. The default value is true.

Remarks

By default, the RoutingBehavior creates and attaches a new SoapProcessingBehavior with ProcessMessages set to true for each client endpoint. If you do not want to use the SoapProcessingBehavior on a specific endpoint, create a new SoapProcessingBehavior with this value set to false, and then attach it to the endpoint on which you do not want processing to occur. If the RoutingBehavior observes that a client already has a SoapProcessingBehavior, it does not attempt to attach another.

To disable the application of SoapProcessingBehavior on any endpoint, disable SOAP processing on the RoutingBehavior and the RoutingConfiguration.

Applies to