Share via


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

.NET Framework 4

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function UseWindowsAzureServiceBus ( _
    resolver As IDependencyResolver, _
    connectionString As String, _
    instanceCount As Integer, _
    topicCount As Integer _
) As IDependencyResolver
'Usage
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
)
[ExtensionAttribute]
public:
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

Parameters

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 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

DependencyResolverExtensions Class

UseWindowsAzureServiceBus Overload

Microsoft.AspNet.SignalR Namespace