Share via


ServiceContractAttribute.HasProtectionLevel 속성

정의

멤버에 보호 수준이 할당되어 있는지 여부를 나타내는 값을 가져옵니다.

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

속성 값

Boolean

true 속성이 ProtectionLevel이 아니면 None이고, 그렇지 않으면 false입니다. 기본값은 false입니다.

설명

이 속성은 HasProtectionLevel 계약에 대해 설정된 것 이외의 false 보호 수준 값이 설정되어 있는지 여부를 나타냅니다.

적용 대상