ContractDescription.ProtectionLevel Propriété

Définition

Obtient ou définit le niveau des mesures de protection et de sécurité associé au contrat.

C#
public System.Net.Security.ProtectionLevel ProtectionLevel { get; set; }

Valeur de propriété

ProtectionLevel

ProtectionLevel pour l'opération.

Exemples

C#
ProtectionLevel protectionLevel = cd.ProtectionLevel;
Console.WriteLine("\tProtection Level: {0}", protectionLevel.ToString());

Remarques

Lorsque ProtectionLevel est défini, la propriété HasProtectionLevel a la valeur true.

S’applique à

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8