Partager via


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

See Also

IMessage Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top