Share via


MessageSettings.GetCommunicationPort Method (MessageSecurityMode)

 

Gets the port that should be used for communication. This is a hint; the actual port that should be used is specific to the implementation.

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

Syntax

public ushort GetCommunicationPort(
    MessageSecurityMode securityMode
)
public:
unsigned short GetCommunicationPort(
    MessageSecurityMode securityMode
)
Public Function GetCommunicationPort (
    securityMode As MessageSecurityMode
) As UShort

Parameters

Return Value

Type: System.UInt16

See Also

GetCommunicationPort Overload
MessageSettings Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top