Modifier

Partager via


MsmqTransportSecurity.MsmqProtectionLevel Property

Definition

Gets or sets the ProtectionLevel that is associated with this instance of the MsmqTransportSecurity class.

public:
 property System::Net::Security::ProtectionLevel MsmqProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
public System.Net.Security.ProtectionLevel MsmqProtectionLevel { get; set; }
member this.MsmqProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property MsmqProtectionLevel As ProtectionLevel

Property Value

The ProtectionLevel that is associated with this instance of the MsmqTransportSecurity class.

Exceptions

The value is not one of the ProtectionLevel values.

Remarks

The default protection level is Sign.

Applies to