DependencyResolverExtensions.UseServiceBus Method (IDependencyResolver, ServiceBusScaleoutConfiguration)

.NET Framework 4.5

Use service bus as a messaging backplane to scale-out message bus implementation.

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


<ExtensionAttribute> _
Public Shared Function UseServiceBus ( _
    resolver As IDependencyResolver, _
    configuration As ServiceBusScaleoutConfiguration _
) As IDependencyResolver
Dim resolver As IDependencyResolver 
Dim configuration As ServiceBusScaleoutConfiguration 
Dim returnValue As IDependencyResolver 

returnValue = resolver.UseServiceBus(configuration)
public static IDependencyResolver UseServiceBus(
    this IDependencyResolver resolver,
    ServiceBusScaleoutConfiguration configuration
static IDependencyResolver^ UseServiceBus(
    IDependencyResolver^ resolver, 
    ServiceBusScaleoutConfiguration^ configuration
static member UseServiceBus : 
        resolver:IDependencyResolver * 
        configuration:ServiceBusScaleoutConfiguration -> IDependencyResolver
public static function UseServiceBus(
    resolver : IDependencyResolver, 
    configuration : ServiceBusScaleoutConfiguration
) : IDependencyResolver


Return Value

Type: Microsoft.AspNet.SignalR.IDependencyResolver
The dependency resolver.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDependencyResolver. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


DependencyResolverExtensions Class

UseServiceBus Overload

Microsoft.AspNet.SignalR Namespace