Sdílet prostřednictvím


OperationDescription.ProtectionLevel Vlastnost

Definice

Získá nebo nastaví úroveň ochrany pro operaci.

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

Hodnota vlastnosti

Operace ProtectionLevel .

Poznámky

Vlastnost ProtectionLevel určuje, zda zprávy operace musí být šifrované, podepsané nebo obojí. Zde nastavená hodnota je výchozí hodnota pro všechny zprávy zadané pro tuto operaci, pokud užší obor tuto hodnotu nepřepíše.

ProtectionLevel ProtectionLevel odpovídá vlastnosti v programovacím modelu WCF (Windows Communication Foundation).

Při nastavení ProtectionLevel je vlastnost nastavena HasProtectionLevel na true.

Platí pro