Condividi tramite


ServiceContractAttribute.HasProtectionLevel Proprietà

Definizione

Ottiene un valore che indica se al membro è stato assegnato un livello di protezione.

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

Valore della proprietà

true se la ProtectionLevel proprietà non Noneè ; in caso contrario, false. Il valore predefinito è false.

Commenti

La HasProtectionLevel proprietà indica se un valore del livello di protezione diverso da false è stato impostato per il contratto.

Si applica a