This documentation is archived and is not being maintained.

MailCommandEventHandler Delegate

The MailCommandEventHandler delegate represents the method that will handle the OnMailCommand event in classes that derive from the SmtpReceiveAgent class.

Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

public delegate void MailCommandEventHandler (
	ReceiveCommandEventSource source,
	MailCommandEventArgs e
)
/** @delegate */
public delegate void MailCommandEventHandler (
	ReceiveCommandEventSource source, 
	MailCommandEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

source

The source of the event.

e

An instance of the MailCommandEventArgs class that contains the data for the event.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003
Show: