IMessage.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
void AddCertificateToMessage(
MessageCertificateX509 certificate,
CertificatePurposes certificatePurpose
)
void AddCertificateToMessage(
MessageCertificateX509^ certificate,
CertificatePurposes certificatePurpose
)
Sub AddCertificateToMessage (
certificate As MessageCertificateX509,
certificatePurpose As CertificatePurposes
)
Parameters
certificate
Type: Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateX509The X.509 certificate.
certificatePurpose
Type: Microsoft.ConfigurationManagement.Messaging.Framework.CertificatePurposesThe purpose of the certificate.
See Also
IMessage Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top