[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. This is a hint and 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

                 
  C#     Visual Basic     Visual C++  
public 
ushort 
GetCommunicationPort(
	

MessageSecurityMode 
securityMode
)
Public 
Function 
GetCommunicationPort ( _
	
securityMode 
As 

MessageSecurityMode _
) 
As 
UShort
public:
unsigned short 
GetCommunicationPort(
	

MessageSecurityMode 
securityMode
)

Parameters

securityMode
MessageSecurityMode

See Also