MessagePropertyFilter.AuthenticationProviderType Vlastnost

Definice

Získá nebo nastaví hodnotu, která označuje, zda načíst AuthenticationProviderType informace o vlastnosti při přijetí nebo náhledu zprávy.

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

Hodnota vlastnosti

true k příjmu AuthenticationProviderType informací; falsev opačném případě . Výchozí formát je false.

Atributy

Příklady

Následující příklad kódu ukazuje použití AuthenticationProviderType vlastnosti.

// 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);

Poznámky

Vlastnost AuthenticationProviderTypeMessage třídy určuje typ kryptografického zprostředkovatele použitého k vygenerování digitálního podpisu zprávy. AuthenticationProviderType se obvykle používá při práci s cizími frontami.

Cizí fronta existuje v systému řazení front, který není službou Microsoft Message Queuing. Microsoft Message Queuing komunikuje s těmito frontami prostřednictvím aplikace konektoru.

Platí pro

Viz také