WSHttpBindingBase.EnvelopeVersion Property

Definition

Gets the version of SOAP that is used for messages that are processed by this binding.

C#
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; }
C#
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; set; }

Property Value

The value of the EnvelopeVersion that is used with this binding. The value is always SOAP 1.2.

Examples

This example shows how to get the envelope version.

C#
EnvelopeVersion envelopeVersion =
binding1.EnvelopeVersion;

Applies to

Produto Versións
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)