OperationDescription.ProtectionLevel Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le niveau de protection de l’opération.
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é
Pour ProtectionLevel l’opération.
Remarques
La ProtectionLevel propriété contrôle si les messages d’une opération doivent être chiffrés, signés ou les deux. La valeur définie ici est la valeur par défaut pour tous les messages spécifiés pour cette opération, sauf si une étendue plus étroite remplace cette valeur.
ProtectionLevel correspond à la ProtectionLevel propriété dans le modèle de programmation Windows Communication Foundation (WCF).
Lorsque la ProtectionLevel valeur est définie, la HasProtectionLevel propriété est définie sur true.