MessagePropertyFilter.AuthenticationProviderName Propiedad

Definición

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

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

Valor de propiedad

true para recibir información de AuthenticationProviderName; 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 AuthenticationProviderName propiedad .

// Set the queue's MessageReadPropertyFilter property 
// to enable the message's 
// AuthenticationProviderName property.
queue->MessageReadPropertyFilter->
    AuthenticationProviderName = 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 
// AuthenticationProviderName property.
Console::WriteLine(
    "Message.AuthenticationProviderName: {0}", 
    orderMessage->AuthenticationProviderName);
// Set the queue's MessageReadPropertyFilter property to enable the
// message's AuthenticationProviderName property.
queue.MessageReadPropertyFilter.AuthenticationProviderName = 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 AuthenticationProviderName
// property.
Console.WriteLine("Message.AuthenticationProviderName: {0}",
    orderMessage.AuthenticationProviderName);

Comentarios

La AuthenticationProviderName propiedad de la Message clase especifica el nombre del proveedor criptográfico utilizado para generar la firma digital del mensaje. Message.AuthenticationProviderName 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