Redigera

Dela via


NetNamedPipeBinding.EnvelopeVersion Property

Definition

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

public:
 property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); };
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; }
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion
Public ReadOnly Property EnvelopeVersion As EnvelopeVersion

Property Value

Soap12.

Examples

The following example shows how to get the version of SOAP.

EnvelopeVersion envelopeVersion =
    binding.EnvelopeVersion;

Remarks

SOAP 1.2 must be used with this binding.

Applies to