[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
ushort 
GetCommunicationPort()
Public 
Function 
GetCommunicationPort 
As 
UShort
public:
unsigned short 
GetCommunicationPort()

See Also