System.Messaging Reference (Document! X Sample)



System.Messaging Namespace > Message Class : AuthenticationProviderType Property
AuthenticationProviderType Property (Message)
Gets or sets the type of cryptographic provider used to generate the digital signature of the message.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<ReadOnlyAttribute(True)>
<MessagingDescriptionAttribute("Specifies the type of cryptographic provider used to generate the digital signature of the message.")>
Public Property AuthenticationProviderType As CryptographicProviderType
'Usage
 
Dim instance As Message
Dim value As CryptographicProviderType
 
instance.AuthenticationProviderType = value
 
value = instance.AuthenticationProviderType
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[ReadOnly(true)]
[MessagingDescription("Specifies the type of cryptographic provider used to generate the digital signature of the message.")]
public CryptographicProviderType AuthenticationProviderType {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[ReadOnly(true)]
[MessagingDescription("Specifies the type of cryptographic provider used to generate the digital signature of the message.")]
public:
property CryptographicProviderType AuthenticationProviderType {
   CryptographicProviderType get();
   void set (    CryptographicProviderType value);
}

Property Value

One of the CryptographicProviderType values. The default is RSA_FULL.
Exceptions
ExceptionDescription
The AuthenticationProviderType property could not be set.-or- The message queue is filtered to ignore the AuthenticationProviderType property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also