Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Message.AuthenticationProviderType Property

Gets or sets the type of cryptographic provider used to generate the digital signature of the message.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public CryptographicProviderType AuthenticationProviderType { get; set; }
/** @property */
public CryptographicProviderType get_AuthenticationProviderType ()

/** @property */
public void set_AuthenticationProviderType (CryptographicProviderType value)

public function get AuthenticationProviderType () : CryptographicProviderType

public function set AuthenticationProviderType (value : CryptographicProviderType)

Not applicable.

Property Value

One of the CryptographicProviderType values. The default is RSA_FULL.
Exception typeCondition

InvalidOperationException

The AuthenticationProviderType property could not be set.

-or-

The message queue is filtered to ignore the AuthenticationProviderType property.

You typically use the AuthenticationProviderType property when working with foreign queues to specify which cryptographic service provider is associated with a message. Message Queuing requires the authentication provider name and authentication provider type of the cryptographic provider (authentication provider) to validate the digital signatures of both messages sent to a foreign queue and messages passed to Message Queuing from a foreign queue.

Only RsaFull is intended to be used with messaging.

When sending a message, always set the AuthenticationProviderType and ConnectorType properties together. When the message is sent, Message Queuing ignores the authentication provider type if the connector type is not also set.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.