ConnectEventSource members

Classes derived from the ConnectEventSource class provide data for the OnConnect event.

The ConnectEventSource type exposes the following members.

Methods

  Name Description
Public method Disconnect When overridden in a derived class, the Disconnect method closes the current connection and cleans up the associated session state. (Inherited from ReceiveEventSource.)
Public method RejectConnection When overridden in a derived class, the RejectConnection method rejects the Simple Mail Transfer Protocol (SMTP) connection by using the response specified in the response parameter.
Public method ValidateCertificate() Gets the CertificateValidationStatus type for the current SMTP session. (Inherited from ReceiveEventSource.)
Public method ValidateCertificate(String, String) Matches a given domain to subject names of the remote certificate and, if a match is found, validates the certificate. (Inherited from ReceiveEventSource.)

Top

See also

Reference

ConnectEventSource class

Microsoft.Exchange.Data.Transport.Smtp namespace