See Also

Dart.PowerTCP.SslSockets Namespace

Requirements

Namespace: Dart.PowerTCP.SslSockets

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

Assembly: Dart.PowerTCP.SslSockets (in Dart.PowerTCP.SslSockets.dll)

Language

Visual Basic

C#

C++

C++/CLI

Show All

sender
The source of the event.
e
A DnsEventArgs object that contains the event data.
See Also Requirements Languages PowerTCP SSL Sockets for .NET

DnsEventHandler Delegate

Dart.PowerTCP.SslSockets Namespace : DnsEventHandler Delegate

Represents the method (event handler) that is raised when the BeginGetHost or 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 )

Parameters

sender
The source of the event.
e
A DnsEventArgs object that contains the event data.

Remarks

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.

Requirements

Namespace: Dart.PowerTCP.SslSockets

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

Assembly: Dart.PowerTCP.SslSockets (in Dart.PowerTCP.SslSockets.dll)

See Also

Dart.PowerTCP.SslSockets Namespace


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.