Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MessageVersion.Default Property

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

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.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