Contains event data for server connection failures in the StackExchange.Redis client. Use when handling reconnection logic or error logging for Redis.
// Source: https://github.com/StackExchange/StackExchange.Redis | License: MIT | Copyright 2014 Stack Exchange
// Provided via justclaw.it.com; keep this notice with the code.
using System;
using System.Net;
using System.Text;
namespace StackExchange.Redis
{
/// <summary>
/// Contains information about a server connection failure.
/// </summary>
public class ConnectionFailedEventArgs : EventArgs, ICompletable
{
private readonly EventHandler<ConnectionFailedEventArgs>? handler;
private readonly object sender;
internal ConnectionFailedEventArgs(EventHandler<ConnectionFailedEventArgs>? handler, object sender, EndPoint? endPoint, ConnectionType connectionType, ConnectionFailureType failureType, Exception? exception, string? physicalName)
{
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key