MessagePropertyFilter.AuthenticationProviderType Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
İletiyi alırken veya göz atırken özellik bilgilerinin alınıp alınmayacağını AuthenticationProviderType belirten bir değer alır veya ayarlar.
public:
property bool AuthenticationProviderType { bool get(); void set(bool value); };
[System.Messaging.MessagingDescription("MsgAuthenticationProviderType")]
public bool AuthenticationProviderType { get; set; }
[<System.Messaging.MessagingDescription("MsgAuthenticationProviderType")>]
member this.AuthenticationProviderType : bool with get, set
Public Property AuthenticationProviderType As Boolean
Özellik Değeri
true
bilgi almak AuthenticationProviderType için; aksi takdirde , false
. Varsayılan değer: false
.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği özelliğinin AuthenticationProviderType kullanımını gösterir.
// Set the queue's MessageReadPropertyFilter property
// to enable the message's
// AuthenticationProviderType property.
queue->MessageReadPropertyFilter->
AuthenticationProviderType = true;
// Peek at the message. Time out after ten seconds
// in case the message was not delivered.
orderMessage = queue->Peek(TimeSpan::FromSeconds(10.0));
// Display the value of the message's
// AuthenticationProviderType property.
Console::WriteLine(
"Message.AuthenticationProviderType: {0}",
orderMessage->AuthenticationProviderType);
// Set the queue's MessageReadPropertyFilter property to enable the
// message's AuthenticationProviderType property.
queue.MessageReadPropertyFilter.AuthenticationProviderType = true;
// Peek at the message. Time out after ten seconds in case the message
// was not delivered.
orderMessage = queue.Peek(TimeSpan.FromSeconds(10.0));
// Display the value of the message's AuthenticationProviderType
// property.
Console.WriteLine("Message.AuthenticationProviderType: {0}",
orderMessage.AuthenticationProviderType);
Açıklamalar
AuthenticationProviderType sınıfının özelliği, iletinin Message dijital imzasını oluşturmak için kullanılan şifreleme sağlayıcısının türünü belirtir. AuthenticationProviderType genellikle yabancı kuyruklarla çalışırken kullanılır.
Microsoft Message Queuing dışında bir kuyruğa alma sisteminde yabancı bir kuyruk var. Microsoft Message Queuing, bir bağlayıcı uygulaması aracılığıyla bu tür kuyruklarla iletişim kurar.
Şunlara uygulanır
Ayrıca bkz.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin