MessagePropertyFilter.AuthenticationProviderType Propiedad

Definición

Obtiene o establece un valor que indica si se debe recuperar información de la propiedad AuthenticationProviderType al recibir un mensaje o leerlo.

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

Valor de propiedad

true para recibir información de AuthenticationProviderType; en cualquier otro caso, false. De manera predeterminada, es false.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra el uso de la AuthenticationProviderType propiedad .

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

Comentarios

La AuthenticationProviderType propiedad de la Message clase especifica el tipo de proveedor criptográfico utilizado para generar la firma digital del mensaje. AuthenticationProviderType normalmente se usa al trabajar con colas externas.

Existe una cola externa en un sistema de puesta en cola distinto de Microsoft Message Queuing. Microsoft Message Queuing se comunica con estas colas a través de una aplicación de conector.

Se aplica a

Consulte también