Export (0) Print
Expand All

MessageVersion.Default Property

Gets the default message version used by Windows Communication Foundation (WCF).

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public static MessageVersion Default { get; }

Property Value

Type: System.ServiceModel.Channels.MessageVersion
The MessageVersion that uses WS-Addressing 1.0 and SOAP1.2.

This returns the same object as Soap12WSAddressing10.

MessageVersion msgVersion = MessageVersion.Default;

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft