OpenConnection() Method
- Last UpdatedApr 08, 2026
- 1 minute read
Deprecated: Connects to the local PubSub engine.
This method has been deprecated. Use PubSubConnectionFactory.OpenConnection.
The connection state is independent of subscriptions, persistence store registration, and secured topics. However, to ensure proper behavior subscriptions, persistence store registrations, and secured topic calls are replayed when a connection is opened. This behavior allows subscriptions and other such calls to be made against a connection once it is initialized but before it is opened.
PubSubConnection PS = new PubSubConnection();
PS.OpenConnection();
PubSubConnection PS = new PubSubConnection();
PS.OpenConnection();