See Also

Ping Class  | Ping Members

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

See Also Languages PowerTCP SSL Sockets for .NET

EndSend Event

Dart.PowerTCP.SslSockets Namespace > Ping Class : EndSend Event (Ping)

Raised when the BeginSend request completes.

[Visual Basic]
<CategoryAttribute("Completion")> <DescriptionAttribute("Raised when the BeginSend() request completes")> Public Event EndSend() As PingEventHandler
[C#]
[CategoryAttribute("Completion")] [DescriptionAttribute("Raised when the BeginSend() request completes")] public event PingEventHandler EndSend();
[C++]
[CategoryAttribute("Completion")] [DescriptionAttribute("Raised when the BeginSend() request completes")] public: __event PingEventHandler* EndSend();
[C++/CLI]
[CategoryAttribute("Completion")] [DescriptionAttribute("Raised when the BeginSend() request completes")] public: event PingEventHandler^ EndSend();

Event Data

The event handler receives an argument of type PingEventArgs containing data related to this event. The following PingEventArgs properties provide information specific to this event.

PropertyDescription
Exception Gets any exception which occurred during the asynchronous operation.
Result Returns an EchoResult object encapsulating data about the asynchronous ping operation.
State Gets the object that was included as part of the associated method call.

Remarks

This event is raised when the asynchronous method call BeginSend completes. A PingEventArgs object is passed into the event, containing information about the event, such as the data sent, response time, etc.

If any errors occurred during the asynchronous operation, they would be returned in the PingEventArgs object, check Exception to check for any exception.

For more information on using events using PowerTCP.NET within the Visual Studio.NET environment, see the topic, Using Events In PowerTCP.

If you are using the Ping component as a reference, you must create a method to handle the event yourself.

This event MUST be implemented if you are using the BeginSend method.

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


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.