Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ HandshakeFailed() [2/2]

void System.Net.Security.NetSecurityTelemetry.HandshakeFailed ( bool isServer,
ValueStopwatch stopwatch,
string exceptionMessage )
inline

Definition at line 196 of file NetSecurityTelemetry.cs.

197 {
200 if (IsEnabled(EventLevel.Error, EventKeywords.None))
201 {
202 HandshakeFailed(isServer, stopwatch.GetElapsedTime().TotalMilliseconds, exceptionMessage);
203 }
205 }
void HandshakeFailed(bool isServer, double elapsedMilliseconds, string exceptionMessage)
static int Increment(ref int location)

References System.Net.Security.NetSecurityTelemetry._failedTlsHandshakes, System.Net.Security.NetSecurityTelemetry._finishedTlsHandshakes, Microsoft.Extensions.Internal.ValueStopwatch.GetElapsedTime(), System.Net.Security.NetSecurityTelemetry.HandshakeFailed(), System.Net.Security.NetSecurityTelemetry.HandshakeStop(), System.Threading.Interlocked.Increment(), and System.Diagnostics.Tracing.EventSource.IsEnabled().