WSHttpBindingBase.EnvelopeVersion Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Возвращает версию SOAP, которая используется для сообщений, обрабатываемых этой привязкой.
public:
property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); };
public:
property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); void set(System::ServiceModel::EnvelopeVersion ^ value); };
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; }
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; set; }
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion with get, set
Public ReadOnly Property EnvelopeVersion As EnvelopeVersion
Public Property EnvelopeVersion As EnvelopeVersion
Значение свойства
Значение, используемое EnvelopeVersion с этой привязкой. Значение всегда равно SOAP 1.2.
Примеры
В этом примере показано, как получить версию конверта.
EnvelopeVersion envelopeVersion =
binding1.EnvelopeVersion;
Dim envelopeVersion As EnvelopeVersion = binding1.EnvelopeVersion