Show / Hide Table of Contents

Class QueueClientDispatcherFactory

Inheritance
System.Object
QueueClientDispatcherFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AzureFromTheTrenches.Commanding.AzureServiceBus
Assembly: AzureFromTheTrenches.Commanding.AzureServiceBus.dll
Syntax
public static class QueueClientDispatcherFactory

Methods

| Improve this Doc View Source

CreateCommandDispatcherFactory(ServiceBusConnectionStringBuilder, IServiceBusMessageSerializer)

Creates a queue command dispatcher factory using the connection string

Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(ServiceBusConnectionStringBuilder builder, IServiceBusMessageSerializer serializer = null)
Parameters
Type Name Description
Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder builder

Connection string builder

IServiceBusMessageSerializer serializer

An optional serializer to use, if unspecified the default JSON serializer will be used

Returns
Type Description
System.Func<ICommandDispatcher>

A command dispatcher factory that will send commands to the queue

| Improve this Doc View Source

CreateCommandDispatcherFactory(String, String, IServiceBusMessageSerializer)

Create a command dispatcher factory using the connection string and queue name information

Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(string connectionString, string queueName, IServiceBusMessageSerializer serializer = null)
Parameters
Type Name Description
System.String connectionString

Sevice bus connection string

System.String queueName

The name of the queue

IServiceBusMessageSerializer serializer

An optional serializer to use, if unspecified the default JSON serializer will be used

Returns
Type Description
System.Func<ICommandDispatcher>

A command dispatcher factory that will send commands to the queue

  • Improve this Doc
  • View Source
Back to top Generated by DocFX