PowerTCP Mail for .NET
CertificateRequestedEventHandler Delegate
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace : CertificateRequestedEventHandler Delegate




sender
The source of the event.
e
An EventArgs object that contains the event data.
Represents the method (event handler) that is raised when a certificate is requested.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub CertificateRequestedEventHandler( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As New CertificateRequestedEventHandler(AddressOf HandlerMethod)
C# 
public delegate void CertificateRequestedEventHandler( 
   object sender,
   EventArgs e
)
Managed Extensions for C++ 
public: __gc __delegate void CertificateRequestedEventHandler( 
   Object* sender,
   EventArgs* e
)
C++/CLI 
public delegate void CertificateRequestedEventHandler( 
   Object^ sender,
   EventArgs^ e
)

Parameters

sender
The source of the event.
e
An EventArgs 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:

  • A class that holds the event data. This class must derive from the base class EventArgs.
  • A delegate that points to a method that provides the response to the event.

For more information about event handler delegates, see the Using Events In PowerTCP topic.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.