ContractDescription.ProtectionLevel Propriété

Définition

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

public:
 property System::Net::Security::ProtectionLevel ProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
public System.Net.Security.ProtectionLevel ProtectionLevel { get; set; }
member this.ProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ProtectionLevel As ProtectionLevel

Valeur de propriété

ProtectionLevel

ProtectionLevel pour l'opération.

Exemples

ProtectionLevel protectionLevel = cd.ProtectionLevel;
Console.WriteLine("\tProtection Level: {0}", protectionLevel.ToString());
Dim protectionLevel As ProtectionLevel = cd.ProtectionLevel
Console.WriteLine(Constants.vbTab & "Protection Level: {0}", protectionLevel.ToString())

Remarques

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

S’applique à