Dart.PowerTCP.EmailValidation Namespace : DnsEventHandler Delegate |
Represents the method (event handler) that is raised when the Dns.BeginGetHost or Dns.BeginGetMailHosts method completes.
[Visual Basic]
Public Delegate Sub DnsEventHandler( _
ByVal sender As Object, _
ByVal e As DnsEventArgs _
)
[C#]
public delegate void DnsEventHandler(
object sender,
DnsEventArgs e
);
[C++]
public: __gc __delegate void DnsEventHandler(
Object* sender,
DnsEventArgs* e
)
[C++/CLI]
public delegate void DnsEventHandler(
Object^ sender,
DnsEventArgs^ e
)
As Microsoft describes in their MSDN documentation, the event model in the .NET Framework is based on having an event delegate that connects an event with its handler. To raise an event, two elements are needed:
For more information about event handler delegates, see the Using Events In PowerTCP topic.
Namespace: Dart.PowerTCP.EmailValidation
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Assembly: Dart.PowerTCP.EmailValidation (in Dart.PowerTCP.EmailValidation.dll)
Dart.PowerTCP.EmailValidation Namespace
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.