Show / Hide Table of Contents

Interface ITaskProducer

Отправитель сообщений в очередь задач.

Namespace:InfinniPlatform.MessageQueue
Assembly:InfinniPlatform.MessageQueue.Abstractions.dll
Syntax
public interface ITaskProducer

Methods

| Improve this Doc View Source

Publish<T>(T, String)

Публикует сообщение в очередь задач.

Declaration
void Publish<T>(T messageBody, string queueName = null)
Parameters
Type Name Description
T messageBody

Тело сообщения.

System.String queueName

Имя очереди. Если не указано - используется полное наименование типа тела сообщения.

Type Parameters
Name Description
T
| Improve this Doc View Source

PublishAsync<T>(T, String)

Публикует сообщение в очередь задач.

Declaration
Task PublishAsync<T>(T messageBody, string queueName = null)
Parameters
Type Name Description
T messageBody

Тело сообщения.

System.String queueName

Имя очереди. Если не указано - используется полное наименование типа тела сообщения.

Returns
Type Description
Task
Type Parameters
Name Description
T
| Improve this Doc View Source

PublishDynamic(DynamicDocument, String)

Публикует сообщение в очередь задач.

Declaration
void PublishDynamic(DynamicDocument messageBody, string queueName)
Parameters
Type Name Description
DynamicDocument messageBody

Тело сообщения.

System.String queueName

Имя очереди.

| Improve this Doc View Source

PublishDynamicAsync(DynamicDocument, String)

Публикует сообщение в очередь задач.

Declaration
Task PublishDynamicAsync(DynamicDocument messageBody, string queueName)
Parameters
Type Name Description
DynamicDocument messageBody

Тело сообщения.

System.String queueName

Имя очереди.

Returns
Type Description
Task

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.