Ping 생성자

정의

Ping 클래스의 새 인스턴스를 초기화합니다.

public:
 Ping();
public Ping();
Public Sub New ()

예제

다음 코드 예제에서는 인스턴스를 만드는 방법을 Ping 보여 줍니다. 전체 예제는 클래스 개요에서 Ping 사용할 수 있습니다.

Ping pingSender = new Ping ();

// When the PingCompleted event is raised,
// the PingCompletedCallback method is called.
pingSender.PingCompleted += new PingCompletedEventHandler (PingCompletedCallback);

적용 대상