See Also

Ping Class  | Ping Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

container
The IContainer which contains the object.
See Also Languages PowerTCP SSL Sockets for .NET

Ping Constructor(IContainer)

Dart.PowerTCP.SslSockets Namespace > Ping Class > Ping Constructor : Ping Constructor(IContainer)

Initializes a new instance of the Ping class.

[Visual Basic]
Public Function New( _    ByVal container As IContainer _ )
[C#]
public Ping(    IContainer container );
[C++]
public: Ping(    IContainer* container )
[C++/CLI]
public: Ping(    IContainer^ container )

Parameters

container
The IContainer which contains the object.

Remarks

Use this constructor to add the Ping component to the IContainer container.

To create an instance of the Ping component using Visual Studio.NET, simply add the Ping component to the form and the object will automatically be created and initialized. If working out of the Visual Studio.NET environment (or using the Ping component as a reference), the Ping component will have to be explicitly created and initialized.

The following table shows initial property values for an instance of Ping.

Property Initial Value
DoEvents true
PingType PingType.ICMP
Timeout 3000

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Ping Class  | Ping Members  | Overload List


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.