Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OperationDescription::HasProtectionLevel Property

 

Gets a value that indicates whether the operation has had a protection level set.

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

public:
property bool HasProtectionLevel {
	bool get();
}

Property Value

Type: System::Boolean

true if the protection level has been set; otherwise, false.

When the ProtectionLevel is set, the HasProtectionLevel property is set to true.

HasProtectionLevel corresponds to the HasProtectionLevel property in the Windows Communication Foundation (WCF) programming model.

Use the HasProtectionLevel property to indicate that a specific protection level is required by the messages of this operation.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft