SessionProperties.Port Property

Solclient

SessionPropertiesPort Property
version: 7.2.1.27

Note: This API is now obsolete.

This property is deprecated. While still supported, the port number can also now be specified as part of the host in Host (e.g. "hostname:55555"). In general, port numbers are not needed to be specified except in special situations. If this property is set, this port number is used for all entries in Host that do not explicitly specify port.

It represents the port number to connect to. Valid range is 0..65535; 0 means use default for the selected CompressionLevel.

Default: 0 (getting this property returns the appropriate default port: 55003 if compression is enabled, 55555 otherwise).

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
[ObsoleteAttribute("Port is deprecated", false)]
public int Port { get; set; }
<ObsoleteAttribute("Port is deprecated", false)>
Public Property Port As Integer
	Get
	Set
public:
[ObsoleteAttribute(L"Port is deprecated", false)]
property int Port {
	int get ();
	void set (int value);
}

Property Value

Type: Int32
See Also