Editar

Partilhar via


OperationDescription.HasProtectionLevel Property

Definition

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

public:
 property bool HasProtectionLevel { bool get(); };
public bool HasProtectionLevel { get; }
member this.HasProtectionLevel : bool
Public ReadOnly Property HasProtectionLevel As Boolean

Property Value

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

Remarks

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.

Applies to