Message.AuthenticationProviderName Property

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

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

public string AuthenticationProviderName { get; set; }
/** @property */
public String get_AuthenticationProviderName ()

/** @property */
public void set_AuthenticationProviderName (String value)

public function get AuthenticationProviderName () : String

public function set AuthenticationProviderName (value : String)

Property Value

The name of the cryptographic provider used to generate the digital signature of the message. The default is Microsoft Base Cryptographic Provider version 1.0.

Exception typeCondition

InvalidOperationException

The AuthenticationProviderName property could not be set.

-or-

The message queue is filtered to ignore the AuthenticationProviderName property.

ArgumentException

The AuthenticationProviderName was set to a null reference (Nothing in Visual Basic).

You typically use the AuthenticationProviderName when working with foreign queues. 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.

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

The AuthenticationProviderName property cannot be a null reference (Nothing in Visual Basic), but it can be an empty string ("").

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show: