ContractDescription.ShouldSerializeProtectionLevel Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value that indicates whether the ProtectionLevel property has changed from its default value and should be serialized.

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

public bool ShouldSerializeProtectionLevel()

Return Value

Type: System.Boolean

true if the ProtectionLevel property value should be serialized; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: