MsmqAuthenticationMode 列舉

定義

指定用於繫結的驗證類型。

public enum class MsmqAuthenticationMode
public enum MsmqAuthenticationMode
type MsmqAuthenticationMode = 
Public Enum MsmqAuthenticationMode
繼承
MsmqAuthenticationMode

欄位

Certificate 2

用戶端會透過 X.509 憑證來驗證。 用戶端憑證必須位於伺服器的憑證存放區中。

None 0

此繫結未搭配使用任何安全性。

WindowsDomain 1

Kerberos 可供驗證用途。 用戶端與伺服器必須加入信任的網域。

備註

來自此列舉的值可供

MsmqAuthenticationMode 屬性使用,以指出 MSMQ 傳輸必須如何驗證訊息。

如果安全性是藉由將屬性設定 MsmqTransportSecurity.MsmqAuthenticationMode 為來關閉 None ,則 MsmqTransportSecurity.MsmqProtectionLevel 也必須將屬性設定為以 ProtectionLevel.None 保持一致性。

適用於