Share via


ServiceContractAttribute.HasProtectionLevel Propiedad

Definición

Obtiene un valor que indica si el miembro tiene un nivel de protección asignado.

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

Valor de propiedad

Boolean

true si la propiedad ProtectionLevel no es None; de lo contrario, false. De manera predeterminada, es false.

Comentarios

La HasProtectionLevel propiedad indica si se ha establecido un valor de nivel de protección distinto false de para el contrato.

Se aplica a