Share via


INetSecurityTelemetryConsumer.OnHandshakeFailed Method

Definition

Called before OnHandshakeStop(DateTime, SslProtocols) if the handshake failed.

public virtual void OnHandshakeFailed(DateTime timestamp, bool isServer, TimeSpan elapsed, string exceptionMessage);
abstract member OnHandshakeFailed : DateTime * bool * TimeSpan * string -> unit
override this.OnHandshakeFailed : DateTime * bool * TimeSpan * string -> unit
Public Overridable Sub OnHandshakeFailed (timestamp As DateTime, isServer As Boolean, elapsed As TimeSpan, exceptionMessage As String)

Parameters

timestamp
DateTime

Timestamp when the event was fired.

isServer
Boolean

Indicates whether we were authenticating as the server.

elapsed
TimeSpan

Time elapsed since the start of the handshake.

exceptionMessage
String

Exception information for the handshake failure.

Applies to