GlobalConnection Property (GlobalPubSubConnectionAccessor)
- Last UpdatedApr 08, 2026
- 1 minute read
Gets the underlying global PubSub connection.
public ISharedPubSubConnection GlobalConnection {get;}
public:
property ISharedPubSubConnection^ GlobalConnection {
ISharedPubSubConnection^ get();
}
Property Value
The ISharedPubSubConnection instance.A global PubSub connection is a singleton PubSubConnection object that is instantiated once and then used by multiple threads and objects throughout an application. Global connections are useful for sharing a connection across many objects without requiring the objects to pass an instantiated connection between them.
The global PubSub connection will automatically be initialized with an open connection.