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

.NET Framework 4.5

Note: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Use IAppBuilder.MapSignalR<TConnection> in an Owin Startup class. See https://go.microsoft.com/fwlink/?LinkId=320578 for more details.")> _
<ExtensionAttribute> _
Public Shared Function MapConnection(Of T As PersistentConnection) ( _
    builder As IAppBuilder, _
    path As String _
) As IAppBuilder
'Usage
Dim builder As IAppBuilder 
Dim path As String 
Dim returnValue As IAppBuilder 

returnValue = builder.MapConnection(path)
[ObsoleteAttribute("Use IAppBuilder.MapSignalR<TConnection> in an Owin Startup class. See https://go.microsoft.com/fwlink/?LinkId=320578 for more details.")]
public static IAppBuilder MapConnection<T>(
    this IAppBuilder builder,
    string path
)
where T : PersistentConnection
[ObsoleteAttribute(L"Use IAppBuilder.MapSignalR<TConnection> in an Owin Startup class. See https://go.microsoft.com/fwlink/?LinkId=320578 for more details.")]
[ExtensionAttribute]
public:
generic<typename T>
where T : PersistentConnection 
static IAppBuilder^ MapConnection(
    IAppBuilder^ builder, 
    String^ path
)
[<ObsoleteAttribute("Use IAppBuilder.MapSignalR<TConnection> in an Owin Startup class. See https://go.microsoft.com/fwlink/?LinkId=320578 for more details.")>]
static member MapConnection : 
        builder:IAppBuilder * 
        path:string -> IAppBuilder   when 'T : PersistentConnection
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

  • builder
    Type: IAppBuilder

Return Value

Type: 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.118) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.118).

See Also

Reference

ObsoleteOwinExtensions Class

MapConnection Overload

Owin Namespace