MsmqAuthenticationMode 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定用於繫結的驗證類型。
public enum class MsmqAuthenticationMode
C#
public enum MsmqAuthenticationMode
type MsmqAuthenticationMode =
Public Enum MsmqAuthenticationMode
- 繼承
Certificate | 2 | 用戶端會透過 X.509 憑證來驗證。 用戶端憑證必須位於伺服器的憑證存放區中。 |
None | 0 | 此繫結未搭配使用任何安全性。 |
WindowsDomain | 1 | Kerberos 可供驗證用途。 用戶端與伺服器必須加入信任的網域。 |
來自此列舉的值可供
MsmqAuthenticationMode 屬性使用,以指出 MSMQ 傳輸必須如何驗證訊息。
如果安全性是藉由將屬性設定 MsmqTransportSecurity.MsmqAuthenticationMode 為來關閉 None
,則 MsmqTransportSecurity.MsmqProtectionLevel 也必須將屬性設定為以 ProtectionLevel.None 保持一致性。
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |