Share via


MessageSettings.HttpsPort Property

 

Gets or sets the HTTPS (TLS/SSL) port to use for sending the message, if applicable. Not all senders will recognize this property value. For best compatibility, use the GetCommunicationPort method to get the most appropriate port.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

[MessagePropertyAttribute(MessagePropertyImportance.Required, 
    RangeMin = 1, RangeMax = 65535, IgnoreForSender = new Type[] { ... })]
public ushort HttpsPort { get; set; }
public:
[MessagePropertyAttribute(MessagePropertyImportance::Required, 
    RangeMin = 1, RangeMax = 65535, IgnoreForSender = new array<Type^>^ { ... })]
property unsigned short HttpsPort {
    unsigned short get();
    void set(unsigned short value);
}
<MessagePropertyAttribute(MessagePropertyImportance.Required,
    RangeMin := 1, RangeMax := 65535, IgnoreForSender := New Type() { ... })>
Public Property HttpsPort As UShort

Property Value

Type: System.UInt16

Port number ranging from 1-65536.

Remarks

This property must be set or message validation will fail.

See Also

MessageSettings Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top