DependencyResolverExtensions.UseServiceBus Method

.NET Framework 4.5

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

public static IDependencyResolver UseServiceBus(
	this IDependencyResolver resolver,
	string connectionString,
	int topicCount,
	int instanceCount,
	int instanceIndex,
	string topicPrefix
)

Parameters

resolver
Type: Microsoft.AspNet.SignalR.IDependencyResolver
connectionString
Type: System.String
topicCount
Type: System.Int32
instanceCount
Type: System.Int32
instanceIndex
Type: System.Int32
topicPrefix
Type: System.String

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