INetSecurityTelemetryConsumer.OnHandshakeFailed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.