Share via


TransportManager.SupportsTransport Method

.NET Framework 4

Determines whether the specified transport is supported.

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Function SupportsTransport ( _
    transportName As String _
) As Boolean
'Usage
Dim instance As TransportManager 
Dim transportName As String 
Dim returnValue As Boolean 

returnValue = instance.SupportsTransport(transportName)
public bool SupportsTransport(
    string transportName
)
public:
virtual bool SupportsTransport(
    String^ transportName
) sealed
abstract SupportsTransport : 
        transportName:string -> bool  
override SupportsTransport : 
        transportName:string -> bool
public final function SupportsTransport(
    transportName : String
) : boolean

Parameters

  • transportName
    Type: System.String
    The name of the transport to test.

Return Value

Type: System.Boolean
True if the transport is supported, otherwise False.

Implements

ITransportManager.SupportsTransport(String)

See Also

Reference

TransportManager Class

Microsoft.AspNet.SignalR.Transports Namespace