共用方式為


WebHttpRelayBinding.EnvelopeVersion Property

Definition

Gets the SOAP envelope version.

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

Property Value

Returns a EnvelopeVersion. Since the WebHttpRelayBinding does not use SOAP, this always returns EnvelopeVersion.None.WebHttpRelayBinding is not likely the binding you should be using for SOAP messaging. However, Service Bus does support SOAP.

Applies to