OpenConnection(String) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Deprecated: Connects to the local PubSub engine.
[Obsolete("Replace usages with --> PubSubConnectionFactory.OpenConnection(~) <-- [DECEMBER 2018]")]
public void OpenConnection(
string AppName
)
[Obsolete("Replace usages with --> PubSubConnectionFactory.OpenConnection(~) <-- [DECEMBER 2018]")]
public:
void OpenConnection(
String^ AppName
)
Parameters
- AppName
- The identifier for this connection. If blank the value appnameGlobal plus the connection number will be used.
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("myApp");
PubSubConnection PS = new PubSubConnection();
PS.OpenConnection("myApp");