Share via


MessageSettings.GetCommunicationPort Method ()

 

Gets the port that should be used for communication. The port that is returned depends on the setting for the SecurityMode property. If a specific override is required, use the GetCommunicationPort(MessageSecurityMode) method.

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

Syntax

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

Return Value

Type: System.UInt16

See Also

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

Return to top