Editar

Partilhar via


NetMsmqBinding.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

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

Examples

The following code shows how to get the EnvelopeVersion.

NetMsmqBinding binding = new NetMsmqBinding();
EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;

Applies to