Share via


NetTcpContextBindingElement.ContextProtectionLevel Eigenschaft

Definition

Ruft den gewünschten Kontextschutzgrad des SOAP-Headers, der zur Weitergabe der Kontextinformationen verwendet wird, ab bzw. legt ihn fest. Der Standardwert ist ProtectionLevel.Sign.

public:
 property System::Net::Security::ProtectionLevel ContextProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
[System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.Sign)]
public System.Net.Security.ProtectionLevel ContextProtectionLevel { get; set; }
[<System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.Sign)>]
member this.ContextProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ContextProtectionLevel As ProtectionLevel

Eigenschaftswert

Ein gültiger ProtectionLevel-Wert.

Attribute

Gilt für: