Share via


Application.SetConnectionSettings(Int32,ConnectionSettings) Method (Microsoft.DirectX.DirectPlay.Lobby)

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

Sets the connection settings to be associated with the specified connection. Calling this method generates a DPL_MSGID_CONNECTION_SETTINGS message to be sent to the client specified by hConnection.When you set connection settings, the lobby application will add a reference to each of the address objects specified in the call. Deprecated.

Definition

Visual Basic Public Sub SetConnectionSettings( _
    ByVal lobbyClient As Integer, _
    ByVal connectionSettings As ConnectionSettings _
)
C# public void SetConnectionSettings(
    int lobbyClient,
    ConnectionSettings connectionSettings
);
C++ public:
void SetConnectionSettings(
    int lobbyClient,
    ConnectionSettings connectionSettings
);
JScript public function SetConnectionSettings(
    lobbyClient : int,
    connectionSettings : ConnectionSettings
);

Parameters

lobbyClient System.Int32
connectionSettings Microsoft.DirectX.DirectPlay.Lobby.ConnectionSettings