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.SmtpResponseThe response to return to the caller.
See also
Reference
EndOfAuthenticationEventSource class