Message.AuthenticationProviderType 屬性

定義

取得或設定用來產生訊息之數位簽章的密碼編譯提供者類型。

public:
 property System::Messaging::CryptographicProviderType AuthenticationProviderType { System::Messaging::CryptographicProviderType get(); void set(System::Messaging::CryptographicProviderType value); };
[System.Messaging.MessagingDescription("MsgAuthenticationProviderType")]
public System.Messaging.CryptographicProviderType AuthenticationProviderType { get; set; }
[<System.Messaging.MessagingDescription("MsgAuthenticationProviderType")>]
member this.AuthenticationProviderType : System.Messaging.CryptographicProviderType with get, set
Public Property AuthenticationProviderType As CryptographicProviderType

屬性值

其中一個 CryptographicProviderType 值。 預設為 RSA_FULL

屬性

例外狀況

無法設定 AuthenticationProviderType 屬性。

-或-

篩選訊息佇列以忽略 AuthenticationProviderType 屬性。

備註

當您使用外部佇列來指定與訊息相關聯的密碼編譯服務提供者時,通常會使用 AuthenticationProviderType 屬性。 消息佇列需要密碼編譯提供者的驗證提供者名稱和驗證提供者類型, (驗證提供者) 驗證傳送至外部佇列之訊息的數位簽名,以及從外部佇列傳遞至消息佇列的訊息。

RsaFull 用於傳訊。

傳送訊息時,一律將 和 ConnectorType 屬性設定AuthenticationProviderType在一起。 傳送訊息時,如果未設定連接器類型,消息佇列就會忽略驗證提供者類型。

適用於

另請參閱