FaultDescription.ProtectionLevel Propriedade

Definição

Especifica o nível de proteção que a falha SOAP requer da ligação.

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

Valor de Propriedade

Um dos ProtectionLevel valores. A predefinição é None.

Observações

Use a ProtectionLevel propriedade para especificar o grau em que a ligação deve encriptar, assinar ou ambos ao enviar a falha SOAP. Se uma ligação suportar um nível de proteção superior ao exigido por esta propriedade, o Windows Communication Foundation (WCF) pode desativar a proteção desnecessária se assim o conseguir.

Aplica-se a