[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Adds certificate to message with the option to
disable any intelligence
Namespace:
Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
C# | Visual Basic | Visual C++ |
public void AddCertificateToMessage( MessageCertificateX509 certificate, CertificatePurposes certificatePurpose, bool forcePurpose )
Public Sub AddCertificateToMessage ( _ certificate As MessageCertificateX509, _ certificatePurpose As CertificatePurposes, _ forcePurpose As Boolean _ )
public: void AddCertificateToMessage( MessageCertificateX509^ certificate, CertificatePurposes certificatePurpose, bool forcePurpose )
Parameters
- certificate
-
MessageCertificateX509
Certificate to add to the message instance
- certificatePurpose
-
CertificatePurposes
Certificate purpose
- forcePurpose
-
Boolean
Force the certificate's purpose even if it doesn't make sense (SSL cert specified for a mixed mode message)