ServiceContractAttribute.HasProtectionLevel Propriedade

Definição

Obtém um valor que indica se o membro tem um nível de proteção atribuído.Gets a value that indicates whether the member has a protection level assigned.

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 a ProtectionLevel propriedade não for None ; caso contrário, false .true if the ProtectionLevel property is not None; otherwise, false. O padrão é false.The default is false.

Comentários

A HasProtectionLevel propriedade indica se um valor de nível de proteção diferente do foi false definido para o contrato.The HasProtectionLevel property indicates whether a protection level value other than false has been set for the contract.

Aplica-se a