OwinExtensions.MapConnection<T> Method (IAppBuilder, String)

.NET Framework 4

Namespace:  Owin
Assembly:  Microsoft.AspNet.SignalR.Owin (in Microsoft.AspNet.SignalR.Owin.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function MapConnection(Of T As PersistentConnection) ( _
    builder As IAppBuilder, _
    url As String _
) As IAppBuilder
'Usage
Dim builder As IAppBuilder 
Dim url As String 
Dim returnValue As IAppBuilder 

returnValue = builder.MapConnection(url)
public static IAppBuilder MapConnection<T>(
    this IAppBuilder builder,
    string url
)
where T : PersistentConnection
[ExtensionAttribute]
public:
generic<typename T>
where T : PersistentConnection 
static IAppBuilder^ MapConnection(
    IAppBuilder^ builder, 
    String^ url
)
static member MapConnection : 
        builder:IAppBuilder * 
        url:string -> IAppBuilder   when 'T : PersistentConnection
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

  • builder
    Type: IAppBuilder

Return Value

Type: IAppBuilder
Returns IAppBuilder.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).

See Also

Reference

OwinExtensions Class

MapConnection Overload

Owin Namespace