DependencyResolverExtensions.UseWindowsAzureServiceBus Method (IDependencyResolver, String, Int32, Int32)

.NET Framework 4.5

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


<ExtensionAttribute> _
Public Shared Function UseWindowsAzureServiceBus ( _
    resolver As IDependencyResolver, _
    connectionString As String, _
    instanceCount As Integer, _
    topicCount As Integer _
) As IDependencyResolver
Dim resolver As IDependencyResolver 
Dim connectionString As String 
Dim instanceCount As Integer 
Dim topicCount As Integer 
Dim returnValue As IDependencyResolver 

returnValue = resolver.UseWindowsAzureServiceBus(connectionString, _
    instanceCount, topicCount)
public static IDependencyResolver UseWindowsAzureServiceBus(
    this IDependencyResolver resolver,
    string connectionString,
    int instanceCount,
    int topicCount
static IDependencyResolver^ UseWindowsAzureServiceBus(
    IDependencyResolver^ resolver, 
    String^ connectionString, 
    int instanceCount, 
    int topicCount
static member UseWindowsAzureServiceBus : 
        resolver:IDependencyResolver * 
        connectionString:string * 
        instanceCount:int * 
        topicCount:int -> IDependencyResolver
public static function UseWindowsAzureServiceBus(
    resolver : IDependencyResolver, 
    connectionString : String, 
    instanceCount : int, 
    topicCount : int
) : IDependencyResolver


Return Value

Type: Microsoft.AspNet.SignalR.IDependencyResolver

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

UseWindowsAzureServiceBus Overload

Microsoft.AspNet.SignalR Namespace