MessageContractAttribute.ProtectionLevel Propiedad

Definición

Obtiene o establece un valor que especifica si los mensajes deben cifrarse, firmarse o las dos cosas.

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 propiedad

Uno de los valores de ProtectionLevel. De manera predeterminada, es None.

Excepciones

Valor pasado a la propiedad cuando el valor no es uno de los valores ProtectionLevel.

Comentarios

Para más información sobre los niveles de protección y sus suposiciones y ámbitos, consulte Descripción del nivel de protección.

Se aplica a