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;

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top