MsmqTransportSecurity.MsmqProtectionLevel 属性

定义

获取或设置与 ProtectionLevel 类的此实例相关联的 MsmqTransportSecurityGets 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

属性值

ProtectionLevel 类的此实例相关联的 MsmqTransportSecurityThe ProtectionLevel that is associated with this instance of the MsmqTransportSecurity class.

异常

该值不是 ProtectionLevel 值之一。The value is not one of the ProtectionLevel values.

注解

默认保护级别为 SignThe default protection level is Sign.

适用于