File: NoTransportSupportedException.cs
Web Access
Project: src\src\SignalR\clients\csharp\Http.Connections.Client\src\Microsoft.AspNetCore.Http.Connections.Client.csproj (Microsoft.AspNetCore.Http.Connections.Client)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
 
namespace Microsoft.AspNetCore.Http.Connections.Client;
 
/// <summary>
/// Exception thrown during negotiate when there are no supported transports between the client and server.
/// </summary>
public class NoTransportSupportedException : Exception
{
    /// <summary>
    /// Constructs the <see cref="NoTransportSupportedException"/> exception with the provided <paramref name="message"/>.
    /// </summary>
    /// <param name="message">Message of the exception.</param>
    public NoTransportSupportedException(string message)
        : base(message)
    {
    }
}