Share via


MessagePropertyFilter.AuthenticationProviderType 속성

정의

메시지를 받거나 피킹할 때 AuthenticationProviderType 속성 정보를 검색할지 여부를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

AuthenticationProviderType 정보를 받는 경우 true이고, 그렇지 않으면 false입니다. 기본값은 false입니다.

특성

예제

다음 코드 예제에서는 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);
// 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);

설명

AuthenticationProviderType 의 속성을 Message 클래스에는 메시지의 디지털 서명을 생성 하는 데 사용 되는 암호화 공급자의 유형을 지정 합니다. AuthenticationProviderType 외부 큐를 사용 하 여 작업할 때 일반적으로 사용 됩니다.

외부 큐 Microsoft Message Queuing 이외의 큐 시스템에 존재합니다. Microsoft Message Queuing 커넥터 애플리케이션을 통해 이러한 큐를 사용 하 여 통신합니다.

적용 대상

추가 정보