MsmqAuthenticationMode 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定系結所使用的驗證類型。
public enum class MsmqAuthenticationMode
public enum MsmqAuthenticationMode
type MsmqAuthenticationMode =
Public Enum MsmqAuthenticationMode
- 繼承
欄位
| 名稱 | 值 | Description |
|---|---|---|
| None | 0 | 此綁定不使用任何安全措施。 |
| WindowsDomain | 1 | Kerberos 用於認證。 用戶端與伺服器必須加入受信任的網域。 |
| Certificate | 2 | 用戶端會透過 X.509 憑證來驗證。 用戶端憑證必須位於伺服器的憑證存放區中。 |
備註
此枚舉的數值用於
MsmqAuthenticationMode 屬性用以指示訊息必須如何由 MSMQ 傳輸驗證。
若安全性透過將屬性MsmqTransportSecurity.MsmqAuthenticationMode設None為 關閉,則MsmqTransportSecurity.MsmqProtectionLevel該屬性也必須設為 以ProtectionLevel.None保持一致性。