OperationDescription.HasProtectionLevel Propriedade

Definição

Obtém um valor que indica se a operação tem um nível de proteção definido.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

Valor da propriedade

Boolean

true Se o nível de proteção tiver sido definido; caso contrário, false .true if the protection level has been set; otherwise, false.

Comentários

Quando o ProtectionLevel é definido, a HasProtectionLevel propriedade é definida como true .When the ProtectionLevel is set, the HasProtectionLevel property is set to true.

HasProtectionLevel corresponde à HasProtectionLevel propriedade no modelo de programação Windows Communication Foundation (WCF).HasProtectionLevel corresponds to the HasProtectionLevel property in the Windows Communication Foundation (WCF) programming model.

Use a HasProtectionLevel propriedade para indicar que um nível de proteção específico é exigido pelas mensagens dessa operação.Use the HasProtectionLevel property to indicate that a specific protection level is required by the messages of this operation.

Aplica-se a