Share via


ITransportManager.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
Function SupportsTransport ( _
    transportName As String _
) As Boolean
'Usage
Dim instance As ITransportManager 
Dim transportName As String 
Dim returnValue As Boolean 

returnValue = instance.SupportsTransport(transportName)
bool SupportsTransport(
    string transportName
)
bool SupportsTransport(
    String^ transportName
)
abstract SupportsTransport : 
        transportName:string -> bool
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.

See Also

Reference

ITransportManager Interface

Microsoft.AspNet.SignalR.Transports Namespace