Client.Connect(SoundDeviceConfig,ClientConfig,VoiceFlags) Method (Microsoft.DirectX.DirectPlay.Voice)

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.

Establishes the connection to the server. Deprecated.

Definition

Visual Basic Public Sub Connect( _
    ByVal soundConfig As SoundDeviceConfig, _
    ByVal clientConfig As ClientConfig, _
    ByVal flags As VoiceFlags _
)
C# public void Connect(
    SoundDeviceConfig soundConfig,
    ClientConfig clientConfig,
    VoiceFlags flags
);
C++ public:
void Connect(
    SoundDeviceConfig soundConfig,
    ClientConfig clientConfig,
    VoiceFlags flags
);
JScript public function Connect(
    soundConfig : SoundDeviceConfig,
    clientConfig : ClientConfig,
    flags : VoiceFlags
);

Parameters

soundConfig Microsoft.DirectX.DirectPlay.Voice.SoundDeviceConfig
clientConfig Microsoft.DirectX.DirectPlay.Voice.ClientConfig
flags Microsoft.DirectX.DirectPlay.Voice.VoiceFlags