Message.AddCertificateToMessage Method (MessageCertificateX509, CertificatePurposes)
Adds a certificate to the message.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public void AddCertificateToMessage(
MessageCertificateX509 certificate,
CertificatePurposes certificatePurpose
)
public:
virtual void AddCertificateToMessage(
MessageCertificateX509^ certificate,
CertificatePurposes certificatePurpose
) sealed
Public Sub AddCertificateToMessage (
certificate As MessageCertificateX509,
certificatePurpose As CertificatePurposes
)
Parameters
certificate
Type: Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateX509The certificate to add to the message instance.
certificatePurpose
Type: Microsoft.ConfigurationManagement.Messaging.Framework.CertificatePurposesThe purpose of the certificate.
Implements
IMessage.AddCertificateToMessage(MessageCertificateX509, CertificatePurposes)
See Also
AddCertificateToMessage Overload
Message Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top