EndOfAuthenticationEventSource.RejectAuthentication Method
The RejectAuthentication method rejects the authenticated session by sending a response specified by the response parameter.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub RejectAuthentication ( _
response As SmtpResponse _
)
'Usage
Dim instance As EndOfAuthenticationEventSource
Dim response As SmtpResponse
instance.RejectAuthentication(response)
public abstract void RejectAuthentication(
SmtpResponse response
)
Parameters
- response
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponse
The response to return to the caller.